This class provides the basic methods to integrate CYM Identity capabilities into your Authentication Flows.
LoginFlows with type Flow are not supported.

Methods

getCurrent

global static cym.Community getCurrent();

Return

Returns the current Community.

authenticators

global cym.Community.Authenticators authenticators;

Return

An instance of the Community.Authenticators which can be used to interact with the different authenticators defined for the community.

getRemoteApex

global cym.Remote.Apex getRemoteApex(Type fn);

Input

fn : A Type which extends the cym.Remote.Apex which will run under the Community.runAs__c selected user.

Return

A cym.Remote.Apex object which can be executed