C# 클래스 NGM.CasClient.Client.State.CacheProxyTicketManager

상속: IProxyTicketManagerWrapper
파일 보기 프로젝트 열기: NIKASoftwareDevs/Orchard

공개 메소드들

메소드 설명
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