Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
ch4mpy authored Nov 2, 2024
1 parent 3e63611 commit 4d736e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ com:
```
- `OAuthentication` now extends `AbstractOAuth2TokenAuthenticationToken`. This makes integrating with the rest of the Spring Security ecosystem easier but requires its `principal` to implement `OAuth2Token`. Migration guide:
- if using `OpenidClaimSet` directly, wrap it in an `OpenidToken`; if extending it, extend `OpenidToken` instead.
- move the token string argument from the `OAuthentication` constructor to the `OpenidClaimSet` one (or whatever is used as `principal`)
- move the token string argument from the `OAuthentication` constructor to the `OpenidToken` one (or whatever is used as `principal`)
```java
new OAuthentication<>(new OpenidClaimSet(claims), authorities, tokenString);
```
Expand Down

0 comments on commit 4d736e3

Please sign in to comment.