UNPKG

@azure/msal-common

Version:
30 lines (25 loc) 631 B
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ export type ClientAssertionConfig = { clientId: string; tokenEndpoint?: string; }; export type ClientAssertionCallback = ( config: ClientAssertionConfig ) => Promise<string>; /** * Client Assertion credential for Confidential Clients */ export type ClientAssertion = { assertion: string | ClientAssertionCallback; assertionType: string; }; /** * Client Credentials set for Confidential Clients */ export type ClientCredentials = { clientSecret?: string; clientAssertion?: ClientAssertion; };