This class provides the basic methods to integrate CYM Identity capabilities into your Authentication Flows.
LoginFlows with type Flow
are not supported.
global static cym.Community getCurrent();
Returns the current Community.
global cym.Community.Authenticators authenticators;
An instance of the
Community.Authenticators which can be used to interact with the different authenticators defined for the community.
global cym.Remote.Apex getRemoteApex(Type fn);
fn
: A
Type
which extends the
cym.Remote.Apex which will run under the
Community.runAs__c
selected user.