-
Declaration
Swift
public typealias T = Void -
Initialize the
DefaultAgent.Declaration
Swift
public init() -
Provides an empty configuration for the
DefaultAgent.Declaration
Swift
public func config() -> () -> VoidReturn Value
A function that returns Void
-
endSession(oidcConfig:AsynchronousidToken: ) End the session with the OpenID Connect provider. This implementation always returns false.
Declaration
Swift
@discardableResult public func endSession(oidcConfig: OidcConfig<Void>, idToken: String) async throws -> BoolParameters
oidcConfigThe configuration for the OpenID Connect client.
idTokenThe ID token used to end the session.
Return Value
Always returns false.
-
authorize(oidcConfig:Asynchronous) Authorize the
DefaultAgentwith the OpenID Connect provider. This implementation always throws anOidcError.authorizeErrorerror.Declaration
Swift
public func authorize(oidcConfig: OidcConfig<Void>) async throws -> AuthCodeParameters
oidcConfigThe configuration for the OpenID Connect client.
Return Value
Never returns normally.
View on GitHub