C# Класс NGM.CasClient.Client.State.CacheProxyTicketManager

Наследование: IProxyTicketManagerWrapper
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

CacheProxyTicketManager() публичный Метод

public CacheProxyTicketManager ( IHttpContextAccessor httpContextAccessor, IClock clock ) : System
httpContextAccessor IHttpContextAccessor
clock IClock
Результат System

GetProxyGrantingTicket() публичный Метод

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
Результат string

Initialize() публичный Метод

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
Результат void

InsertProxyGrantingTicketMapping() публичный Метод

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
Результат void

RemoveExpiredMappings() публичный Метод

Removes expired PGTIOU-PGT from the ticket store
public RemoveExpiredMappings ( ) : void
Результат void