CognitoUserPoolIdentityProvider
public class CognitoUserPoolIdentityProvider : IdentityProvider
Identity provider that uses Cognito user pool.
-
Configuration parameter names.
Declaration
Swift
public struct Config
-
register(uid:
Asynchronousparameters: ) Declaration
Swift
public func register(uid: String, parameters: [String : String]) async throws -> String
-
deregister(uid:
AsynchronousaccessToken: ) Declaration
Swift
public func deregister(uid: String, accessToken: String) async throws -> String
-
signIn(uid:
Asynchronousparameters: ) Declaration
Swift
public func signIn(uid: String, parameters: [String : Any]) async throws -> AuthenticationTokens
-
refreshTokens(refreshToken:
Asynchronous) Declaration
Swift
public func refreshTokens(refreshToken: String) async throws -> AuthenticationTokens
-
signOut(refreshToken:
Asynchronous) Declaration
Swift
public func signOut(refreshToken: String) async throws
-
globalSignOut(accessToken:
Asynchronous) Declaration
Swift
public func globalSignOut(accessToken: String) async throws