C# 클래스 Thinktecture.IdentityModel.Utility.WSTrustClient

Wrapper for the WIF WSTrustChannelFactory/WSTrustChannel plumbing. This code is mainly for convience and does not provide any optimizations like caching of the channel factory.
파일 보기 프로젝트 열기: IdentityModel/Thinktecture.IdentityModel.v1

공개 메소드들

메소드 설명
Issue ( EndpointAddress stsAddress, System.ServiceModel.Channels.Binding binding, ClientCredentials credentials, RequestSecurityToken rst, RequestSecurityTokenResponse &rstr ) : System.IdentityModel.Tokens.SecurityToken

Requests a token desribed by an RST.

Issue ( EndpointAddress stsAddress, EndpointAddress appliesTo, System.ServiceModel.Channels.Binding binding, ClientCredentials credentials ) : System.IdentityModel.Tokens.SecurityToken

Requests a bearer token.

비공개 메소드들

메소드 설명
CreateBearerRst ( EndpointAddress appliesTo ) : RequestSecurityToken
CreateWSTrustChannel ( EndpointAddress stsAddress, System.ServiceModel.Channels.Binding binding, ClientCredentials credentials ) : IWSTrustChannelContract

메소드 상세

Issue() 공개 정적인 메소드

Requests a token desribed by an RST.
public static Issue ( EndpointAddress stsAddress, System.ServiceModel.Channels.Binding binding, ClientCredentials credentials, RequestSecurityToken rst, RequestSecurityTokenResponse &rstr ) : System.IdentityModel.Tokens.SecurityToken
stsAddress System.ServiceModel.EndpointAddress The STS address.
binding System.ServiceModel.Channels.Binding The binding.
credentials System.ServiceModel.Description.ClientCredentials The credentials.
rst RequestSecurityToken The RST.
rstr RequestSecurityTokenResponse The RSTR.
리턴 System.IdentityModel.Tokens.SecurityToken

Issue() 공개 정적인 메소드

Requests a bearer token.
public static Issue ( EndpointAddress stsAddress, EndpointAddress appliesTo, System.ServiceModel.Channels.Binding binding, ClientCredentials credentials ) : System.IdentityModel.Tokens.SecurityToken
stsAddress System.ServiceModel.EndpointAddress The STS address.
appliesTo System.ServiceModel.EndpointAddress The realm address.
binding System.ServiceModel.Channels.Binding The binding.
credentials System.ServiceModel.Description.ClientCredentials The credentials.
리턴 System.IdentityModel.Tokens.SecurityToken