AgentDelegate
public class AgentDelegate<T> : AgentDelegateProtocol
Delegate class to dispatch Agent functions
-
authenticate()AsynchronousAuthenticate with the OpenID Connect provider.
Declaration
Swift
public func authenticate() async throws -> AuthCodeReturn Value
The authorization code.
-
endSession(idToken:Asynchronous) End the session with the OpenID Connect provider.
Declaration
Swift
@discardableResult public func endSession(idToken: String) async throws -> BoolParameters
idTokenThe ID token used to end the session.
Return Value
A boolean indicating whether the session was successfully ended.
View on GitHub