Enabling Integration
Module Settings
Necessary IUserService Additions
/**
* This function is used to tell cbSSO which user is associated with an ssoAuthorizationResponse.
*
* @param ssoAuthorizationResponse An instance of ISSOAuthorizationResponse that was successful
* @param provider The configured provider used for this SSO event
*
* @return An cbAuth.models.IUser instance or null
*/
public any function findBySSO( required any ssoAuthorizationResponse, required any provider );
/**
* Create a new user based off of information from the ISSOAuthorizationResponse.
*
* @param ssoAuthorizationResponse An instance of ISSOAuthorizationResponse that was successful
* @param provider The configured provider used for this SSO event
*
* @return An cbAuth.models.IUser instance
*/
public any function createFromSSO( required any ssoAuthorizationResponse, required any provider );
/**
* Update an existing user based off of the ssoAuthorizationResponse.
*
* @param The user associated with the ssoAuthorizationResponse
* @param ssoAuthorizationResponse An instance of ISSOAuthorizationResponse that was successful
* @param provider The configured provider used for this SSO event
*
*/
public void function updateFromSSO( required any user, required any ssoAuthorizationResponse, required any provider );Running It
Last updated
Was this helpful?