C# Class NGM.CasClient.Client.State.CacheProxyTicketManager

Inheritance: IProxyTicketManagerWrapper
Afficher le fichier Open project: NIKASoftwareDevs/Orchard

Méthodes publiques

Méthode Description
CacheProxyTicketManager ( IHttpContextAccessor httpContextAccessor, IClock clock ) : System
GetProxyGrantingTicket ( string proxyGrantingTicketIou ) : string

Method to retrieve a ProxyGrantingTicket based on the ProxyGrantingTicketIou. Implementations are not guaranteed to return the same result if retieve is called twice with the same proxyGrantingTicketIou.

Initialize ( ) : void

You retrieve CasAuthentication properties in the constructor or else you will cause a StackOverflow. CasAuthentication.Initialize() will call Initialize() on all relevant controls when its initialization is complete. In Initialize(), you can retrieve properties from CasAuthentication.

InsertProxyGrantingTicketMapping ( string proxyGrantingTicketIou, string proxyGrantingTicket ) : void

Method to save the ProxyGrantingTicket to the backing storage facility.

RemoveExpiredMappings ( ) : void

Removes expired PGTIOU-PGT from the ticket store

Method Details

CacheProxyTicketManager() public méthode

public CacheProxyTicketManager ( IHttpContextAccessor httpContextAccessor, IClock clock ) : System
httpContextAccessor IHttpContextAccessor
clock IClock
Résultat System

GetProxyGrantingTicket() public méthode

Method to retrieve a ProxyGrantingTicket based on the ProxyGrantingTicketIou. Implementations are not guaranteed to return the same result if retieve is called twice with the same proxyGrantingTicketIou.
public GetProxyGrantingTicket ( string proxyGrantingTicketIou ) : string
proxyGrantingTicketIou string used as the key
Résultat string

Initialize() public méthode

You retrieve CasAuthentication properties in the constructor or else you will cause a StackOverflow. CasAuthentication.Initialize() will call Initialize() on all relevant controls when its initialization is complete. In Initialize(), you can retrieve properties from CasAuthentication.
public Initialize ( ) : void
Résultat void

InsertProxyGrantingTicketMapping() public méthode

Method to save the ProxyGrantingTicket to the backing storage facility.
public InsertProxyGrantingTicketMapping ( string proxyGrantingTicketIou, string proxyGrantingTicket ) : void
proxyGrantingTicketIou string used as the key
proxyGrantingTicket string used as the value
Résultat void

RemoveExpiredMappings() public méthode

Removes expired PGTIOU-PGT from the ticket store
public RemoveExpiredMappings ( ) : void
Résultat void