|
1 | 1 | /* |
2 | | - * Copyright 2020 the original author or authors. |
| 2 | + * Copyright 2020-2021 the original author or authors. |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
|
15 | 15 | */ |
16 | 16 | package org.springframework.security.oauth2.server.authorization.authentication; |
17 | 17 |
|
| 18 | +import java.util.Collections; |
| 19 | + |
18 | 20 | import org.springframework.lang.Nullable; |
19 | 21 | import org.springframework.security.authentication.AbstractAuthenticationToken; |
20 | 22 | import org.springframework.security.core.Authentication; |
21 | | -import org.springframework.security.oauth2.core.AbstractOAuth2Token; |
| 23 | +import org.springframework.security.oauth2.core.OAuth2Token; |
22 | 24 | import org.springframework.security.oauth2.core.Version; |
23 | 25 | import org.springframework.util.Assert; |
24 | 26 |
|
25 | | -import java.util.Collections; |
26 | | - |
27 | 27 | /** |
28 | 28 | * An {@link Authentication} implementation used for OAuth 2.0 Token Revocation. |
29 | 29 | * |
@@ -62,7 +62,7 @@ public OAuth2TokenRevocationAuthenticationToken(String token, |
62 | 62 | * @param revokedToken the revoked token |
63 | 63 | * @param clientPrincipal the authenticated client principal |
64 | 64 | */ |
65 | | - public OAuth2TokenRevocationAuthenticationToken(AbstractOAuth2Token revokedToken, |
| 65 | + public OAuth2TokenRevocationAuthenticationToken(OAuth2Token revokedToken, |
66 | 66 | Authentication clientPrincipal) { |
67 | 67 | super(Collections.emptyList()); |
68 | 68 | Assert.notNull(revokedToken, "revokedToken cannot be null"); |
|
0 commit comments