Skip to content

Conversation

@trwalke
Copy link
Member

@trwalke trwalke commented Nov 3, 2025

Fixes #

Changes proposed in this request

Testing

Performance impact

Documentation

  • All relevant documentation is updated.

@bgavrilMS
Copy link
Member

Not sure what the purpose for this is, but you cannot add a method to an itnerface. See #5376


MsalAccessTokenCacheItem cachedAccessTokenItem = await GetCachedAccessTokenAsync().ConfigureAwait(false);

// Validate the cached token using the authentication operation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be on request base?

</ItemGroup>

<ItemGroup>
<Compile Include="AuthScheme\MsalCacheValidationData.cs" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert all changes

/// </summary>
/// <param name="cachedTokenItem"></param>
/// <returns></returns>
bool ValidateCachedToken(MsalCacheValidationData cachedTokenItem);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naming - how about AcceptCachedToken ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And maybe make it async from the start? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants