public class Ticket extends Object
| Modifier and Type | Field and Description |
|---|---|
private Instant |
expirationInstant
Expiration instant.
|
private String |
id
Ticket identifier.
|
private String |
service
Service/relying party that requested the ticket.
|
private String |
sessionId
IdP session ID used to create ticket.
|
| Constructor and Description |
|---|
Ticket(String id,
String sessionId,
String service,
Instant expiration)
Creates a new ticket with the given parameters..
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Instant |
getExpirationInstant() |
String |
getId() |
String |
getService() |
String |
getSessionId() |
int |
hashCode() |
String |
toString() |
public Ticket(@Nonnull String id, @Nonnull String sessionId, @Nonnull String service, @Nonnull Instant expiration)
id - Ticket ID.sessionId - IdP session ID used to create ticket.service - Service that requested the ticket.expiration - Expiration instant.Copyright © 1999–2015. All rights reserved.