Skip to content

1.0.5-preview

Pre-release
Pre-release
Compare
Choose a tag to compare
@jmprieur jmprieur released this 15 Dec 04:54
· 74 commits to main since this release
e71883c

1.0.5-preview

API Changes to improve the developer experience

  • New property TokenType on AcquireTokenResult.
  • ApplicationAuthenticationOptions renamed to IdentityApplicationOptions, and MicrosoftAuthenticationOptions to MicrosoftIdentityApplicationOptions
  • Removed ITokenAcquirerFactory.GetTokenAcquirer(string authority, string clientId, System.Collections.Generic.IEnumerable clientCredentials, string? region), as the same is doable with GetTokenAcquirer(IdentityApplicationOptions identityApplicationOptions)
  • Added helpers to IDownstreamRestApi for each of the Http methods.
  • Split DownstreamRestApiOptions into AuthorizationHeaderProviderOptions (now used in IAuthorizationHeaderProvider), and DownstreamRestApiOptions, which adds the scopes. A new derived class DownstreamRestApiOptionsReadOnlyHttpMethod enables a better developer experience in the IDownstreamWebApi methods which names starts with an HttpMethod (no confusion and risk to change the HTTP method in the delegate)