|
|
|
|
@ -21,6 +21,7 @@ import java.util.Map;
@@ -21,6 +21,7 @@ import java.util.Map;
|
|
|
|
|
import org.springframework.lang.Nullable; |
|
|
|
|
import org.springframework.security.authentication.AbstractAuthenticationToken; |
|
|
|
|
import org.springframework.security.core.Authentication; |
|
|
|
|
import org.springframework.security.core.Transient; |
|
|
|
|
import org.springframework.security.oauth2.core.ClientAuthenticationMethod; |
|
|
|
|
import org.springframework.security.oauth2.core.Version; |
|
|
|
|
import org.springframework.security.oauth2.server.authorization.client.RegisteredClient; |
|
|
|
|
@ -37,6 +38,7 @@ import org.springframework.util.Assert;
@@ -37,6 +38,7 @@ import org.springframework.util.Assert;
|
|
|
|
|
* @see RegisteredClient |
|
|
|
|
* @see OAuth2ClientAuthenticationProvider |
|
|
|
|
*/ |
|
|
|
|
@Transient |
|
|
|
|
public class OAuth2ClientAuthenticationToken extends AbstractAuthenticationToken { |
|
|
|
|
private static final long serialVersionUID = Version.SERIAL_VERSION_UID; |
|
|
|
|
private final String clientId; |
|
|
|
|
|