Provides low-level interfaces and helper methods for authentication in Azure SDK
Overall
score
97%
Build a utility that validates and prepares token request configurations for secure API calls using Proof of Possession (PoP) authentication.
Your solution should:
null if any validation failsnull @testnull @testnull @test@generates
/**
* Creates a token request options object configured for Proof of Possession authentication.
*
* @param method - The HTTP method for the resource request
* @param url - The URL of the resource being accessed (must be HTTPS)
* @param nonce - A unique nonce value for the PoP token
* @returns A token request options object with PoP configuration, or null if validation fails
*/
export function createPopTokenOptions(
method: string,
url: string,
nonce: string
): any | null;Provides authentication interfaces and token request configuration types.
Install with Tessl CLI
npx tessl i tessl/npm-azure--core-authdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10