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 AuthenticationResponsegetAuthenticationResponse()ObjectgetCredentials()ObjectgetPrincipal()
-
-
-
Constructor Detail
-
OktaSuccessLoginToken
public OktaSuccessLoginToken(AuthenticationResponse authenticationResponse)
-
-
Method Detail
-
getAuthenticationResponse
public AuthenticationResponse getAuthenticationResponse()
-
getPrincipal
public Object getPrincipal()
- Specified by:
getPrincipalin interfaceorg.apache.shiro.authc.AuthenticationToken
-
getCredentials
public Object getCredentials()
- Specified by:
getCredentialsin interfaceorg.apache.shiro.authc.AuthenticationToken
-
-