AdministrationContext

This class provides utility methods which can act on encrypted fields throughout CYM Identity

getContext

global static AdministrationContext getContext();

Return

A context object.

getCommunityAuthenticatorConfig

global Object getCommunityAuthenticatorConfig(Id authenticatorId)

Input

authenticatorId : SObject Id for the authenticator
It's your responsibility to validate that the current user has access to the record and the cym__config__c field.

Return

The JSON Object or Array which contains the authenticator configuration

getCommunityAuthenticatorConfig

global void getCommunityAuthenticatorConfig(Id authenticatorId, Object config)

Input

authenticatorId : SObject Id for the authenticator
It's your responsibility to validate that the current user has access to the record and write permissions to the cym__config__c field.
config : A JSON serializable object which contains the authenticator configuration