Codeunit "Azure Functions Authentication"

ID 7800
Namespace: System.Azure.Functions

Provides functionality for setting authentication parameters to Azure function.

Properties

Name Value
Access Public
InherentEntitlements X
InherentPermissions X

Methods

CreateOAuth2

Obsolete

This element will become obsolete from version 24.0. Use CreateOAuth2 with SecretText data type for ClientSecret.

Creates OAuth2 authentication instance of Azure function interface.

[NonDebuggable]
[Obsolete(Use CreateOAuth2 with SecretText data type for ClientSecret.,24.0)]
procedure CreateOAuth2(Endpoint: Text, AuthenticationCode: Text, ClientId: Text, ClientSecret: Text, OAuthAuthorityUrl: Text, RedirectURL: Text, ResourceURL: Text): Interface "Azure Functions Authentication"

Parameters

Name Type Description
Endpoint Text

Azure function endpoint

AuthenticationCode Text

Azure function authentication code, empty if anonymous.

ClientId Text

The Application (client) ID that the Azure portal – App registrations experience assigned to your app.

ClientSecret Text

The Application (client) secret configured in the Azure Portal.

OAuthAuthorityUrl Text

The identity authorization provider URL.

RedirectURL Text

The redirectURL of your app, for azure function this could be empty

ResourceURL Text

The Application ID URI

Returns

Type Description
System.Azure.Functions."Azure Functions Authentication"

Instance of Azure function response object.

CreateOAuth2

Creates OAuth2 authentication instance of Azure function interface.

[NonDebuggable]
procedure CreateOAuth2(Endpoint: Text, AuthenticationCode: Text, ClientId: Text, ClientSecret: SecretText, OAuthAuthorityUrl: Text, RedirectURL: Text, ResourceURL: Text): Interface "Azure Functions Authentication"

Parameters

Name Type Description
Endpoint Text

Azure function endpoint

AuthenticationCode Text

Azure function authentication code, empty if anonymous.

ClientId Text

The Application (client) ID that the Azure portal – App registrations experience assigned to your app.

ClientSecret SecretText

The Application (client) secret configured in the Azure Portal.

OAuthAuthorityUrl Text

The identity authorization provider URL.

RedirectURL Text

The redirectURL of your app, for azure function this could be empty

ResourceURL Text

The Application ID URI

Returns

Type Description
System.Azure.Functions."Azure Functions Authentication"

Instance of Azure function response object.

CreateCodeAuth

Creates code authentication instance of Azure function interface.

[NonDebuggable]
procedure CreateCodeAuth(Endpoint: Text, AuthenticationCode: Text): Interface "Azure Functions Authentication"

Parameters

Name Type Description
Endpoint Text

Azure function endpoint

AuthenticationCode Text

Azure function authentication code, empty if anonymous.

Returns

Type Description
System.Azure.Functions."Azure Functions Authentication"

Instance of Azure function response object.

See also