Codeunit 501 OAuth2

System Application, System.Security.Authentication

55 obsolete

Procedures 55

AcquireTokenByAuthorizationCode(ClientId: Text; ClientSecret: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: Text; var AuthCodeErr: Text): Booleangone after 22
Pending, tag 18.0, obsolete since 17: Replaced with AcquireTokenByAuthorizationCode with Scopes parameter
AcquireTokenByAuthorizationCode(ClientId: Text; ClientSecret: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: Text; var AuthCodeErr: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokenByAuthorizationCode with SecretText data type for AccessToken.
AcquireTokensByAuthorizationCode(ClientId: Text; ClientSecret: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: Text; var IdToken: Text; var AuthCodeErr: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokensByAuthorizationCode with SecretText data type for AccessToken.
AcquireTokenAndTokenCacheByAuthorizationCode(ClientId: Text; ClientSecret: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: Text; var TokenCache: Text; var Error: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokenAndTokenCacheByAuthorizationCode with SecretText data type for AccessToken.
AcquireTokensAndTokenCacheByAuthorizationCode(ClientId: Text; ClientSecret: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: Text; var IdToken: Text; var TokenCache: Text; var Error: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokensAndTokenCacheByAuthorizationCode with SecretText data type for AccessToken.
AcquireOnBehalfOfToken(RedirectURL: Text; ResourceURL: Text; var AccessToken: Text): Booleangone after 22
Pending, tag 18.0, obsolete since 17: Replaced with AcquireOnBehalfOfToken with Scopes parameter
AcquireOnBehalfOfToken(RedirectURL: Text; Scopes: List of [Text]; var AccessToken: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireOnBehalfOfToken with SecretText data type for AccessToken.
AcquireOnBehalfOfTokens(RedirectURL: Text; Scopes: List of [Text]; var AccessToken: Text; var IdToken: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireOnBehalfOfTokens with SecretText data type for AccessToken.
AcquireTokenWithClientCredentials(ClientId: Text; ClientSecret: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text; var AccessToken: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokenWithClientCredentials with SecretText data type for AccessToken.
AcquireTokenWithClientCredentials(ClientId: Text; ClientSecret: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; var AccessToken: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokenWithClientCredentials with SecretText data type for AccessToken.
AcquireAuthorizationCodeTokenFromCache(ClientId: Text; ClientSecret: Text; RedirectURL: Text; ResourceURL: Text; var AccessToken: Text): Booleangone after 22
Pending, tag 17.0, obsolete since 17: Added OAuthority parameter
AcquireAuthorizationCodeTokenFromCache(ClientId: Text; ClientSecret: Text; RedirectURL: Text; OAuthAuthorityUrl: Text; ResourceURL: Text; var AccessToken: Text): Booleangone after 22
Pending, tag 18.0, obsolete since 17: Replaced with AcquireAuthorizationCodeTokenFromCache with Scopes parameter
AcquireAuthorizationCodeTokenFromCache(ClientId: Text; ClientSecret: Text; RedirectURL: Text; OAuthAuthorityUrl: Text; Scopes: List of [Text]; var AccessToken: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireAuthorizationCodeTokenFromCache with SecretText data type for AccessToken.
AcquireTokensFromCache(ClientId: Text; ClientSecret: Text; RedirectURL: Text; OAuthAuthorityUrl: Text; Scopes: List of [Text]; var AccessToken: Text; var IdToken: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokensFromCache with SecretText data type for AccessToken.
AcquireOnBehalfAccessTokenAndRefreshToken(OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text; var AccessToken: Text; var RefreshToken: Text): Booleangone after 22
Pending, tag 18.0, obsolete since 18: Renaming to AcquireOnBehalfAccessTokenAndTokenCache
AcquireOnBehalfAccessTokenAndTokenCache(OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text; var AccessToken: Text; var TokenCache: Text): Booleangone after 22
Pending, tag 18.0, obsolete since 17: Replaced with AcquireOnBehalfAccessTokenAndTokenCache with Scopes parameter
AcquireOnBehalfAccessTokenAndRefreshToken(OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; var AccessToken: Text; var RefreshToken: Text): Booleangone after 22
Pending, tag 18.0, obsolete since 18: Renaming to AcquireOnBehalfAccessTokenAndTokenCache
AcquireOnBehalfAccessTokenAndTokenCache(OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; var AccessToken: Text; var TokenCache: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireOnBehalfAccessTokenAndTokenCache with SecretText data type for AccessToken.
AcquireOnBehalfTokensAndTokenCache(OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; var AccessToken: Text; var IdToken: Text; var TokenCache: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireOnBehalfTokensAndTokenCache with SecretText data type for AccessToken.
AcquireOnBehalfOfTokenByRefreshToken(ClientId: Text; RedirectURL: Text; ResourceURL: Text; RefreshToken: Text; var AccessToken: Text; var NewRefreshToken: Text): Booleangone after 22
Pending, tag 18.0, obsolete since 18: Renaming to AcquireOnBehalfOfTokenByTokenCache
AcquireOnBehalfOfTokenByTokenCache(LoginHint: Text; RedirectURL: Text; ResourceURL: Text; TokenCache: Text; var AccessToken: Text; var NewTokenCache: Text): Booleangone after 22
Pending, tag 18.0, obsolete since 17: Replaced with AcquireOnBehalfOfTokenByTokenCache with Scopes parameter
AcquireOnBehalfOfTokenByRefreshToken(ClientId: Text; RedirectURL: Text; Scopes: List of [Text]; RefreshToken: Text; var AccessToken: Text; var NewRefreshToken: Text): Booleangone after 22
Pending, tag 18.0, obsolete since 18: Renaming to AcquireOnBehalfOfTokenByTokenCache
AcquireOnBehalfOfTokenByTokenCache(LoginHint: Text; RedirectURL: Text; Scopes: List of [Text]; TokenCache: Text; var AccessToken: Text; var NewTokenCache: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireOnBehalfOfTokenByTokenCache with SecretText data type for AccessToken.
AcquireOnBehalfOfTokensByTokenCache(LoginHint: Text; RedirectURL: Text; Scopes: List of [Text]; TokenCache: Text; var AccessToken: Text; var IdToken: Text; var NewTokenCache: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireOnBehalfOfTokensByTokenCache with SecretText data type for AccessToken.
AcquireOnBehalfOfTokenByTokenCache(ClientId: Text; ClientSecret: Text; LoginHint: Text; RedirectURL: Text; Scopes: List of [Text]; TokenCache: Text; var AccessToken: Text; var NewTokenCache: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireOnBehalfOfTokenByTokenCache with SecretText data type for AccessToken.
AcquireOnBehalfOfTokensByTokenCache(ClientId: Text; ClientSecret: Text; LoginHint: Text; RedirectURL: Text; Scopes: List of [Text]; TokenCache: Text; var AccessToken: Text; var IdToken: Text; var NewTokenCache: Text): Booleangone after 26
Pending, tag 24.0, obsolete since 24: Use AcquireOnBehalfOfTokensByTokenCache with SecretText data type for AccessToken.
AcquireTokensWithUserCredentials(OAuthAuthorityUrl: Text; ClientId: Text; Scopes: List of [Text]; UserName: Text; Credential: Text; var AccessToken: Text; var IdToken: Text): Booleangone after 23
Pending, tag 21.0, obsolete since 21: AcquireTokensWithUserCredentials is deprecated and will be removed in version 23.0. We recommend that you switch to any of the remaining non-deprecated functions in this class to acquire tokens already now.
AcquireTokensWithUserCredentials(OAuthAuthorityUrl: Text; Scopes: List of [Text]; UserName: Text; Credential: Text; var AccessToken: Text; var IdToken: Text): Booleangone after 23
Pending, tag 21.0, obsolete since 21: AcquireTokensWithUserCredentials is deprecated and will be removed in version 23.0. We recommend that you switch to any of the remaining non-deprecated functions in this class to acquire tokens already now
AcquireTokenByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: Text; var AuthCodeErr: Text): Boolean18 to 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokenByAuthorizationCodeWithCertificate with SecretText data type for AccessToken.
AcquireTokenByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: Text; var AuthCodeErr: Text): Boolean18 to 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokenByAuthorizationCodeWithCertificate with SecretText data type for AccessToken.
AcquireTokensByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: Text; var IdToken: Text; var AuthCodeErr: Text): Boolean18 to 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokensByAuthorizationCodeWithCertificate with SecretText data type for AccessToken.
AcquireTokenAndTokenCacheByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: Text; var TokenCache: Text; var Error: Text): Boolean18 to 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokenAndTokenCacheByAuthorizationCodeWithCertificate with SecretText data type for AccessToken.
AcquireTokensAndTokenCacheByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: Text; var IdToken: Text; var TokenCache: Text; var Error: Text): Boolean18 to 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokensAndTokenCacheByAuthorizationCodeWithCertificate with SecretText data type for AccessToken.
AcquireAuthorizationCodeTokenFromCacheWithCertificate(ClientId: Text; Certificate: Text; RedirectURL: Text; OAuthAuthorityUrl: Text; ResourceURL: Text; var AccessToken: Text): Boolean18 to 26
Pending, tag 24.0, obsolete since 24: Use AcquireAuthorizationCodeTokenFromCacheWithCertificate with SecretText data type for AccessToken.
AcquireAuthorizationCodeTokenFromCacheWithCertificate(ClientId: Text; Certificate: Text; RedirectURL: Text; OAuthAuthorityUrl: Text; Scopes: List of [Text]; var AccessToken: Text): Boolean18 to 26
Pending, tag 24.0, obsolete since 24: Use AcquireAuthorizationCodeTokenFromCacheWithCertificate with SecretText data type for AccessToken.
AcquireTokensFromCacheWithCertificate(ClientId: Text; Certificate: Text; RedirectURL: Text; OAuthAuthorityUrl: Text; Scopes: List of [Text]; var AccessToken: Text; var IdToken: Text): Boolean18 to 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokensFromCacheWithCertificate with SecretText data type for AccessToken.
AcquireTokensWithCertificate(ClientId: Text; Certificate: Text; RedirectURL: Text; OAuthAuthorityUrl: Text; Scopes: List of [Text]; var AccessToken: Text; var IdToken: Text): Boolean21 to 26
Pending, tag 24.0, obsolete since 24: Use AcquireTokensWithCertificate with SecretText data type for AccessToken.
AcquireTokenByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var AuthCodeErr: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokenByAuthorizationCodeWithCertificate with SecretText data type for AccessToken and Certificate.
AcquireTokenByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var AuthCodeErr: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokenByAuthorizationCodeWithCertificate with SecretText data type for AccessToken, Certificate and CertificatePassword.
AcquireTokenByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var AuthCodeErr: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokenByAuthorizationCodeWithCertificate with SecretText data type for AccessToken and Certificate.
AcquireTokenByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var AuthCodeErr: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokenByAuthorizationCodeWithCertificate with SecretText data type for AccessToken, Certificate and CertificatePassword.
AcquireTokensByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var IdToken: Text; var AuthCodeErr: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokensByAuthorizationCodeWithCertificate with SecretText data type for AccessToken and Certificate.
AcquireTokensByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var IdToken: Text; var AuthCodeErr: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokensByAuthorizationCodeWithCertificate with SecretText data type for AccessToken, Certificate and CertificatePassword.
AcquireTokenAndTokenCacheByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var TokenCache: Text; var Error: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokenAndTokenCacheByAuthorizationCodeWithCertificate with SecretText data type for AccessToken and Certificate.
AcquireTokenAndTokenCacheByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var TokenCache: Text; var Error: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokenAndTokenCacheByAuthorizationCodeWithCertificate with SecretText data type for AccessToken, Certificate and CertificatePassword.
AcquireTokensAndTokenCacheByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var IdToken: Text; var TokenCache: Text; var Error: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokensAndTokenCacheByAuthorizationCodeWithCertificate with SecretText data type for AccessToken and Certificate.
AcquireTokensAndTokenCacheByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var IdToken: Text; var TokenCache: Text; var Error: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokensAndTokenCacheByAuthorizationCodeWithCertificate with SecretText data type for AccessToken, Certificate and CertificatePassword.
AcquireAuthorizationCodeTokenFromCacheWithCertificate(ClientId: Text; Certificate: Text; RedirectURL: Text; OAuthAuthorityUrl: Text; ResourceURL: Text; var AccessToken: SecretText): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireAuthorizationCodeTokenFromCacheWithCertificate with SecretText data type for AccessToken and Certificate.
AcquireAuthorizationCodeTokenFromCacheWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; RedirectURL: Text; OAuthAuthorityUrl: Text; ResourceURL: Text; var AccessToken: SecretText): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireAuthorizationCodeTokenFromCacheWithCertificate with SecretText data type for AccessToken, Certificate and CertificatePassword.
AcquireAuthorizationCodeTokenFromCacheWithCertificate(ClientId: Text; Certificate: Text; RedirectURL: Text; OAuthAuthorityUrl: Text; Scopes: List of [Text]; var AccessToken: SecretText): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireAuthorizationCodeTokenFromCacheWithCertificate with SecretText data type for AccessToken and Certificate.
AcquireAuthorizationCodeTokenFromCacheWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; RedirectURL: Text; OAuthAuthorityUrl: Text; Scopes: List of [Text]; var AccessToken: SecretText): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireAuthorizationCodeTokenFromCacheWithCertificate with SecretText data type for AccessToken, Certificate and CertificatePassword.
AcquireTokensFromCacheWithCertificate(ClientId: Text; Certificate: Text; RedirectURL: Text; OAuthAuthorityUrl: Text; Scopes: List of [Text]; var AccessToken: SecretText; var IdToken: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokensFromCacheWithCertificate with SecretText data type for AccessToken and Certificate.
AcquireTokensFromCacheWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; RedirectURL: Text; OAuthAuthorityUrl: Text; Scopes: List of [Text]; var AccessToken: SecretText; var IdToken: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokensWithCertificate with SecretText data type for AccessToken, Certificate and CertificatePassword.
AcquireTokensWithCertificate(ClientId: Text; Certificate: Text; RedirectURL: Text; OAuthAuthorityUrl: Text; Scopes: List of [Text]; var AccessToken: SecretText; var IdToken: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokensWithCertificate with SecretText data type for AccessToken and Certificate.
AcquireTokensWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; RedirectURL: Text; OAuthAuthorityUrl: Text; Scopes: List of [Text]; var AccessToken: SecretText; var IdToken: Text): Boolean24 to 27
Pending, tag 25.0, obsolete since 24: Use AcquireTokensWithCertificate with SecretText data type for AccessToken, Certificate and CertificatePassword.