Provider IDP implementation for Accedo
Members
Methods
# async inner createPIN(profileId, pin) → {Promise.<object>}
Setup profile pin
Parameters:
| Name | Type | Description | 
|---|---|---|
profileId | 
  
  
  
      
String
|
number
  
   | 
  
  
  Profile ID  | 
pin | 
  
  
  
      
String
  
   | 
  
  
  New pin  | 
Success/Fail
Promise.<object>
    # async inner createProfile(profile) → {Promise.<object>}
Create profile
Parameters:
| Name | Type | Description | 
|---|---|---|
profile | 
  
  
  
      
Profile
  
   | 
  
  
  Profile  | 
Success/Fail
Promise.<object>
    # async inner deletePIN(profileId) → {Promise.<object>}
Delete profile pin
Parameters:
| Name | Type | Description | 
|---|---|---|
profileId | 
  
  
  
      
String
|
number
  
   | 
  
  
  Profile ID  | 
Success/Fail
Promise.<object>
    # async inner deleteProfile(id) → {Promise.<object>}
Delete profile
Parameters:
| Name | Type | Description | 
|---|---|---|
id | 
  
  
  
      
String
|
number
  
   | 
  
  
  Profile ID  | 
Success/Fail
Promise.<object>
    # async inner getAvatars() → {Promise.<Array.<Avatar>>}
Get avatars
Avatars
Promise.<Array.<Avatar>>
    # async inner getProfile(id) → {Promise.<any>}
Get profile
Parameters:
| Name | Type | Description | 
|---|---|---|
id | 
  
  
  
      
String
|
number
  
   | 
  
  
  Profile ID  | 
getProfile object { profile }
Promise.<any>
    # async inner getProfiles() → {Promise.<Array.<Profile>>}
Get profiles
Profiles
Promise.<Array.<Profile>>
    # async inner updatePIN(profileId, pin) → {Promise.<object>}
Update profile pin
Parameters:
| Name | Type | Description | 
|---|---|---|
profileId | 
  
  
  
      
String
|
number
  
   | 
  
  
  Profile ID  | 
pin | 
  
  
  
      
String
  
   | 
  
  
  New pin  | 
Success/Fail
Promise.<object>
    # async inner updateProfileAvatar(id, avatar) → {Promise.<object>}
Update profile name
Parameters:
| Name | Type | Description | 
|---|---|---|
id | 
  
  
  
      
String
|
number
  
   | 
  
  
  Profile ID  | 
avatar | 
  
  
  
      
String
  
   | 
  
  
  New profile avatar  | 
Success/Fail
Promise.<object>
    # async inner updateProfileName(id, name) → {Promise.<object>}
Update profile name
Parameters:
| Name | Type | Description | 
|---|---|---|
id | 
  
  
  
      
String
|
number
  
   | 
  
  
  Profile ID  | 
name | 
  
  
  
      
String
  
   | 
  
  
  New profile name  | 
Success/Fail
Promise.<object>