Class OAuth2RefreshTokenPrincipal
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.oidc.rp.principal.OAuth2RefreshTokenPrincipal
-
- All Implemented Interfaces:
Cloneable,Principal,CloneablePrincipal
public class OAuth2RefreshTokenPrincipal extends Object implements CloneablePrincipal
Principal based on an OAuth 2.0 refresh token.
-
-
Field Summary
Fields Modifier and Type Field Description private StringrefreshTokenThe access_token.
-
Constructor Summary
Constructors Constructor Description OAuth2RefreshTokenPrincipal(String token)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuth2RefreshTokenPrincipalclone()booleanequals(Object other)StringgetName()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
OAuth2RefreshTokenPrincipal
public OAuth2RefreshTokenPrincipal(@Nonnull @NotEmpty @ParameterName(name="refreshToken") String token)
Constructor.- Parameters:
token- the refresh_token
-
-
Method Detail
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object other)
-
toString
public String toString()
-
clone
public OAuth2RefreshTokenPrincipal clone() throws CloneNotSupportedException
- Specified by:
clonein interfaceCloneablePrincipal- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-