SLSLoginInputDelegate
public protocol SLSLoginInputDelegate : AnyObject
Delegate to communicate with the client
-
Called when information is needed by the user
Declaration
Swift
func slsUserIdentityDiscovery(_ sls: SLSUserIdentityDiscovery, needsInputForLogin: SLSLoginInput, completionHandler: @escaping ([SLSLoginInputFieldValue]?, Error?) -> Void)
Parameters
sls
the SLSUserIdentityDiscovery instance that calls this delegate
needsInputForLogin
the SLSLoginInput struct with the requested information
completionHandler
call with the SLSLoginInputFieldValue array with the provided input values
-
Called when there are no more request for the user
Declaration
Swift
func slsUserIdentityDiscoveryDidFinishReceivingInput(_ sls: SLSUserIdentityDiscovery)
Parameters
sls
the SLSUserIdentityDiscovery instance that calls this delegate