Skip to content

Commit

Permalink
(Fix warning) Added missing annotation for new param in TokenRefreshe…
Browse files Browse the repository at this point in the history
…dEventArgs (#370)

* Added Identity Token to TokenRefreshEventArgs

This change allows updating the identity token cached at the client with the latest identity token coming from token renewal

* Make Identity Token optional in TokenRefreshEventArgs to prevent breaking changes

* Added missing annotation for new param in TokenRefreshedEventArgs (fixes related warning)
  • Loading branch information
fmgracias authored Oct 10, 2022
1 parent 3656b79 commit 2afc354
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OidcClient/TokenRefreshedEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public class TokenRefreshedEventArgs : EventArgs
/// <param name="accessToken">The access token.</param>
/// <param name="refreshToken">The refresh token.</param>
/// <param name="expiresIn">The expires in.</param>
/// <param name="identityToken">The identity token (optional).</param>
public TokenRefreshedEventArgs(string accessToken, string refreshToken, int expiresIn, string identityToken = null)
{
AccessToken = accessToken;
Expand Down

0 comments on commit 2afc354

Please sign in to comment.