C# 클래스 Thinktecture.IdentityModel.Tokens.CompressedSecurityTokenHandler

Security token handler that adds a compression aspect to the token handler pipeline. Similar to the encryption aspect of EncryptedSecurityTokenHandler.
상속: System.IdentityModel.Tokens.SecurityTokenHandler
파일 보기 프로젝트 열기: IdentityModel/Thinktecture.IdentityModel.v1

공개 메소드들

메소드 설명
CanReadToken ( XmlReader reader ) : bool

Determines whether this instance can read a CompressedSecurityToken.

GetTokenTypeIdentifiers ( ) : string[]

Gets the token type identifiers.

ReadToken ( XmlReader reader ) : System.IdentityModel.Tokens.SecurityToken

Reads the token.

WriteToken ( XmlWriter writer, System.IdentityModel.Tokens.SecurityToken token ) : void

Writes the token.

보호된 메소드들

메소드 설명
Compress ( string input ) : string

Compresses the specified string.

Decompress ( string input ) : string

Decompresses the specified compressed string.

메소드 상세

CanReadToken() 공개 메소드

Determines whether this instance can read a CompressedSecurityToken.
public CanReadToken ( XmlReader reader ) : bool
reader XmlReader The reader.
리턴 bool

Compress() 보호된 메소드

Compresses the specified string.
protected Compress ( string input ) : string
input string A string.
리턴 string

Decompress() 보호된 메소드

Decompresses the specified compressed string.
protected Decompress ( string input ) : string
input string The compressed string.
리턴 string

GetTokenTypeIdentifiers() 공개 메소드

Gets the token type identifiers.
public GetTokenTypeIdentifiers ( ) : string[]
리턴 string[]

ReadToken() 공개 메소드

Reads the token.
public ReadToken ( XmlReader reader ) : System.IdentityModel.Tokens.SecurityToken
reader XmlReader The reader.
리턴 System.IdentityModel.Tokens.SecurityToken

WriteToken() 공개 메소드

Writes the token.
public WriteToken ( XmlWriter writer, System.IdentityModel.Tokens.SecurityToken token ) : void
writer System.Xml.XmlWriter The writer.
token System.IdentityModel.Tokens.SecurityToken The token.
리턴 void