{"title":"Codeunit 7800 Azure Functions Authentication, procedures","url":"https://jonas-paprotka.de/ref/codeunit/7800-azure-functions-authentication/procedures/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":7800,"name":"Azure Functions Authentication","app":"System Application","versions":"21-29","url":"https://jonas-paprotka.de/ref/codeunit/7800-azure-functions-authentication/","json":"https://jonas-paprotka.de/ref/codeunit/7800-azure-functions-authentication.json"},"aspect":"procedures","total":4,"rows":[{"name":"CreateOAuth2","sig":"(Text, Text, Text, Text, Text, Text, Text)","named":"(Endpoint: Text; AuthenticationCode: Text; ClientId: Text; ClientSecret: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text)","returns":"Interface Azure Functions Authentication","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Use CreateOAuth2 with SecretText data type for ClientSecret.","tag":"24.0"},"range":"21-26","first":21,"last":26,"obsoleteSince":24,"spans":[{"from":21,"to":23,"named":"(Endpoint: Text; AuthenticationCode: Text; ClientId: Text; ClientSecret: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text)","returns":"Interface Azure Functions Authentication","kind":"procedure","access":"public","obsolete":null},{"from":24,"to":26,"named":"(Endpoint: Text; AuthenticationCode: Text; ClientId: Text; ClientSecret: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text)","returns":"Interface Azure Functions Authentication","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Use CreateOAuth2 with SecretText data type for ClientSecret.","tag":"24.0"}}]},{"name":"CreateCodeAuth","sig":"(Text, Text)","named":"(Endpoint: Text; AuthenticationCode: Text)","returns":"Interface Azure Functions Authentication","kind":"procedure","access":"public","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(Endpoint: Text; AuthenticationCode: Text)","returns":"Interface Azure Functions Authentication","kind":"procedure","access":"public","obsolete":null}]},{"name":"CreateOAuth2WithCert","sig":"(Text, Text, Text, SecretText, Text, Text, Text)","named":"(Endpoint: Text; AuthenticationCode: Text; ClientId: Text; Cert: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; Scope: Text)","returns":"Interface Azure Functions Authentication","kind":"procedure","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(Endpoint: Text; AuthenticationCode: Text; ClientId: Text; Cert: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; Scope: Text)","returns":"Interface Azure Functions Authentication","kind":"procedure","access":"public","obsolete":null}]},{"name":"CreateOAuth2","sig":"(Text, Text, Text, SecretText, Text, Text, Text)","named":"(Endpoint: Text; AuthenticationCode: Text; ClientId: Text; ClientSecret: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text)","returns":"Interface Azure Functions Authentication","kind":"procedure","access":"public","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(Endpoint: Text; AuthenticationCode: Text; ClientId: Text; ClientSecret: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceURL: Text)","returns":"Interface Azure Functions Authentication","kind":"procedure","access":"public","obsolete":null}]}]}