Authentication
let credentials = AuthCredentials(
accessToken: "OPENID ACCESS TOKEN",
refreshToken: "OPENID REFRESH TOKEN",
idToken: "OPENID ID TOKEN"
)
try manager.authentication().openidAuthenticateWithAuthCredentials(
authCredentials: credentials
)val credentials = AuthCredentials(
accessToken = "OPENID ACCESS TOKEN",
refreshToken = "OPENID REFRESH TOKEN",
idToken = "OPENID ID TOKEN"
)
manager.authentication().openidAuthenticateWithAuthCredentials(
authCredentials = credentials
)try manager.authentication().openidAuthenticateWithUsernamePassword(
username: "jon.doe",
password: "my_secret"
)manager.authentication().openidAuthenticateWithUsernamePassword(
username = "jon.doe",
password = "my_secret"
)try manager.authentication().openidAuthenticateWithAuthorizationCode(
authorizationCode: "XYZ123",
)manager.authentication().openidAuthenticateWithAuthorizationCode(
authorizationCode = "XYZ123",
)Supported Authentication Methods
OpenID Connect
Authentication with Opaque Token
Authentication with Legacy XV Authentication
Apple InApp Receipt Authentication
SDK Methods
Getting the currently logged in User
UserProfile
Name
Type
Description
Getting the last known logged in User
Logging out a User
Last updated