public class DefaultAuthentication extends Object implements Authentication
Authentication.| Constructor and Description |
|---|
DefaultAuthentication(String ticket,
Profile profile) |
DefaultAuthentication(String ticket,
Profile profile,
boolean remembered) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Profile |
getProfile()
Returns the profile associated to the authentication.
|
String |
getTicket()
Returns the ticket that identifies the authentication.
|
int |
hashCode() |
boolean |
isRemembered()
Indicates if it's a remembered authentication.
|
String |
toString() |
public String getTicket()
AuthenticationgetTicket in interface Authenticationpublic Profile getProfile()
AuthenticationgetProfile in interface Authenticationpublic boolean isRemembered()
AuthenticationisRemembered in interface AuthenticationCopyright © 2023 CrafterCMS. All rights reserved.