-
Removal of previously marked obsolete methods and properties
Most members previously marked as obsolete were removed.
-
AuthenticationClient.AuthenticateAsync()
is now calling the/oauth/token
endpoint using the Resource Owner Password grant type, and thus it requires aClientSecret
in theAuthenticationRequest
for confidential clients. -
The
Connection
property inAuthenticationRequest
is renamedRealm
, and is now optional.If not provided, the Authentication API will use the connection specified as the Default Directory in the Account Settings.
-
The token refresh exchange must be done using the
AuthenticationClient.GetRefreshedTokenAsync()
with aTokenRefreshRequest
instead of usingAuthenticationClient.GetDelegationTokenAsync()
with aRefreshTokenDelegationRequest
. -
The
AccessToken
class returned on authentication methods is renamedAccessTokenResponse
. -
AuthenticationClient.AuthenticateAsync()
now returns anAccessTokenResponse
instead ofAuthorizationResponse
. -
The
AuthenticationClient.GetUserInfoAsync()
method now returns aUserInfo
class instead ofUser
. -
Removed
GetTokenInfoAsync
method, based on the deprecated/tokeninfo
endpoint. -
Removed
GetAccessTokenAsync
method, based on the deprecated/oauth/access_token
endpoint. -
Remove
WithDevice()
method fromAuthorizationUrlBuilder
, because of obsoleteddevice
parameter.
-
AuthorizationUrlBuilder
now supports addingnonce
,audience
,response_mode
and multipleresponse_type
s to the/authorize
URL. -
LogoutUrlBuilder
now uses thev2/logout
endpoint, and supports thefederated
andclientId
values. -
Removal of (unused) class
OAuthToken
.