Package com.okta.authn.sdk.example.shiro
Class OktaSuccessLoginToken
- java.lang.Object
-
- com.okta.authn.sdk.example.shiro.OktaSuccessLoginToken
-
- All Implemented Interfaces:
Serializable
,org.apache.shiro.authc.AuthenticationToken
public class OktaSuccessLoginToken extends Object implements org.apache.shiro.authc.AuthenticationToken
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OktaSuccessLoginToken(AuthenticationResponse authenticationResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationResponse
getAuthenticationResponse()
Object
getCredentials()
Object
getPrincipal()
-
-
-
Constructor Detail
-
OktaSuccessLoginToken
public OktaSuccessLoginToken(AuthenticationResponse authenticationResponse)
-
-
Method Detail
-
getAuthenticationResponse
public AuthenticationResponse getAuthenticationResponse()
-
getPrincipal
public Object getPrincipal()
- Specified by:
getPrincipal
in interfaceorg.apache.shiro.authc.AuthenticationToken
-
getCredentials
public Object getCredentials()
- Specified by:
getCredentials
in interfaceorg.apache.shiro.authc.AuthenticationToken
-
-