Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.27 KB

User.md

File metadata and controls

22 lines (16 loc) · 1.27 KB

Passbase::User

Properties

Name Type Description Notes
email String Email with which the user was created [optional]
identity_access_token String Access token in the shape of a JsonWebToken used as a Bearer token when submitting identity data [optional]
required_steps Array<ProjectSettingsVerificationSteps> List of the steps through which the user must go through to complete their verification [optional]

Example

require 'passbase'

instance = Passbase::User.new(
  email: jessie@example.com,
  identity_access_token: eyJhbGciOiJIUzI1NiIsI...,
  required_steps: [{&quot;step&quot;:&quot;email&quot;,&quot;resource_types&quot;:[&quot;EMAIL&quot;]},{&quot;step&quot;:&quot;liveness_check&quot;,&quot;resource_types&quot;:[&quot;FACE_VIDEO&quot;]},{&quot;step&quot;:&quot;country&quot;,&quot;resource_types&quot;:[&quot;de&quot;,&quot;us&quot;,&quot;vn&quot;,&quot;zn&quot;]},{&quot;step&quot;:&quot;identity_document_check&quot;,&quot;resource_types&quot;:[&quot;PASSPORT&quot;,&quot;DRIVERS_LICENSE&quot;]},{&quot;step&quot;:&quot;insurance_card_scan&quot;,&quot;resource_types&quot;:[&quot;HEALTH_INSURANCE_CARD&quot;]}]
)