Méthode | Description | |
---|---|---|
ContainsTicket ( string userAuthenticationTicketKey ) : bool |
Indicates whether or not the ticket store contains the supplied userAuthenticationTicketKey
|
|
GetAllTicketKeys ( ) : IEnumerable |
Retrieves all UserAuthenticationTicket keys in the ticket store that have not already expired.
|
|
GetAllTicketedUsers ( ) : IEnumerable |
Retrieves a list of all users that have non-expired ServerAuthenticationTickets.
|
|
GetAllTickets ( ) : IEnumerable |
Retrieves all tickets in the ticket store that have not already expired.
|
|
GetTicket ( string userAuthenticationTicketKey ) : UserAuthenticationTicket |
Retrieve a UserAuthenticationTicket from the ticket store by it's ticket key
|
|
GetUserTicketKeys ( string username ) : IEnumerable |
Retrieves all non-expired UserAuthenticationTicket keys in the ticket store associated with the username supplied.
|
|
GetUserTickets ( string username ) : IEnumerable |
Retrieves all non-expired tickets in the ticket store associated with the username supplied.
|
|
Initialize ( string name, |
Initializes the CacheUserAuthenticationTicketProvider module.
|
|
InsertTicket ( UserAuthenticationTicket ticket, System.DateTime expiration ) : void |
Inserts a UserAuthenticationTicket to the ticket store with a corresponding ticket expiration date.
|
|
RemoveExpiredTickets ( ) : void |
Removes expired entries from the ticket store
|
|
RevokeTicket ( string userAuthenticationTicketKey ) : void |
Removes the ticket from the collection if it exists. If the ticket does not exist in the ticket store, just return (do not throw an exception).
|
|
RevokeUserTickets ( string username ) : void |
Revoke all tickets corresponding to the supplied Username.
|
|
UpdateTicketExpiration ( UserAuthenticationTicket ticket, System.DateTime newExpiration ) : void |
Updates the expiration date and time for an existing ticket. If the ticket does not exist in the ticket store, just return (do not throw an exception).
|
|
VerifyTicket ( UserAuthenticationTicket ticket ) : bool |
Verify that the supplied UserAuthenticationTicket exists in the ticket store
|
Méthode | Description | |
---|---|---|
GetCacheKey ( string ticketKey ) : string |
Converts a ticketKey to a corresponding key in the ticket store (cache provider).
|
public ContainsTicket ( string userAuthenticationTicketKey ) : bool | ||
userAuthenticationTicketKey | string | The ticket to check for |
Résultat | bool |
public GetAllTicketedUsers ( ) : IEnumerable |
||
Résultat | IEnumerable |
public GetTicket ( string userAuthenticationTicketKey ) : UserAuthenticationTicket | ||
userAuthenticationTicketKey | string | The ticket key generated by the server |
Résultat | UserAuthenticationTicket |
public GetUserTicketKeys ( string username ) : IEnumerable |
||
username | string | The username to search the collection for |
Résultat | IEnumerable |
public GetUserTickets ( string username ) : IEnumerable |
||
username | string | The Username to search the collection for |
Résultat | IEnumerable |
public Initialize ( string name, |
||
name | string | |
config | ||
Résultat | void |
public InsertTicket ( UserAuthenticationTicket ticket, System.DateTime expiration ) : void | ||
ticket | UserAuthenticationTicket | The UserAuthenticationTicket to insert |
expiration | System.DateTime | The date and time at which the ticket expires |
Résultat | void |
public RevokeTicket ( string userAuthenticationTicketKey ) : void | ||
userAuthenticationTicketKey | string | The ticket to remove from the ticket store |
Résultat | void |
public RevokeUserTickets ( string username ) : void | ||
username | string | The Username to revoke tickets for |
Résultat | void |
public UpdateTicketExpiration ( UserAuthenticationTicket ticket, System.DateTime newExpiration ) : void | ||
ticket | UserAuthenticationTicket | The UserAuthenticationTicket to insert |
newExpiration | System.DateTime | The new expiration date and time |
Résultat | void |
public VerifyTicket ( UserAuthenticationTicket ticket ) : bool | ||
ticket | UserAuthenticationTicket | The UserAuthenticationTicket to verify |
Résultat | bool |