다음을 통해 공유


WindowsSecurityToken 생성자

정의

WindowsSecurityToken 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
WindowsSecurityToken()

WindowsSecurityToken 클래스의 새 인스턴스를 초기화합니다.

WindowsSecurityToken(WindowsIdentity)

Windows 사용자를 사용하여 클래스의 WindowsSecurityToken 새 인스턴스를 초기화합니다.

WindowsSecurityToken(WindowsIdentity, String)

Windows 사용자를 사용하여 클래스의 WindowsSecurityToken 새 인스턴스를 초기화합니다.

WindowsSecurityToken(WindowsIdentity, String, String)

WindowsSecurityToken새 인스턴스를 생성합니다.

WindowsSecurityToken()

WindowsSecurityToken 클래스의 새 인스턴스를 초기화합니다.

protected:
 WindowsSecurityToken();
protected WindowsSecurityToken();
Protected Sub New ()

설명

이 생성자는 기본적으로 아무 작업도 수행하지 않습니다.

적용 대상

WindowsSecurityToken(WindowsIdentity)

Windows 사용자를 사용하여 클래스의 WindowsSecurityToken 새 인스턴스를 초기화합니다.

public:
 WindowsSecurityToken(System::Security::Principal::WindowsIdentity ^ windowsIdentity);
public WindowsSecurityToken(System.Security.Principal.WindowsIdentity windowsIdentity);
new System.IdentityModel.Tokens.WindowsSecurityToken : System.Security.Principal.WindowsIdentity -> System.IdentityModel.Tokens.WindowsSecurityToken
Public Sub New (windowsIdentity As WindowsIdentity)

매개 변수

windowsIdentity
WindowsIdentity

Windows 사용자를 나타내는 A WindowsIdentity 입니다.

예외

windowsIdentitynull입니다.

설명

이 생성자는 보안 토큰에 WindowsSecurityToken 대한 고유 식별자를 만들고 해당 값을 속성에 Id 할당합니다.

적용 대상

WindowsSecurityToken(WindowsIdentity, String)

Windows 사용자를 사용하여 클래스의 WindowsSecurityToken 새 인스턴스를 초기화합니다.

public:
 WindowsSecurityToken(System::Security::Principal::WindowsIdentity ^ windowsIdentity, System::String ^ id);
public WindowsSecurityToken(System.Security.Principal.WindowsIdentity windowsIdentity, string id);
new System.IdentityModel.Tokens.WindowsSecurityToken : System.Security.Principal.WindowsIdentity * string -> System.IdentityModel.Tokens.WindowsSecurityToken
Public Sub New (windowsIdentity As WindowsIdentity, id As String)

매개 변수

windowsIdentity
WindowsIdentity

Windows 사용자를 나타내는 A WindowsIdentity 입니다.

id
String

보안 토큰에 대한 고유 식별자입니다.

예외

windowsIdentitynull입니다.

-또는-

idnull입니다.

설명

이 생성자는 메서드를 Initialize 호출하여 이 클래스의 속성을 초기화합니다.

적용 대상

WindowsSecurityToken(WindowsIdentity, String, String)

WindowsSecurityToken새 인스턴스를 생성합니다.

public:
 WindowsSecurityToken(System::Security::Principal::WindowsIdentity ^ windowsIdentity, System::String ^ id, System::String ^ authenticationType);
public WindowsSecurityToken(System.Security.Principal.WindowsIdentity windowsIdentity, string id, string authenticationType);
new System.IdentityModel.Tokens.WindowsSecurityToken : System.Security.Principal.WindowsIdentity * string * string -> System.IdentityModel.Tokens.WindowsSecurityToken
Public Sub New (windowsIdentity As WindowsIdentity, id As String, authenticationType As String)

매개 변수

windowsIdentity
WindowsIdentity

Windows 사용자를 나타내는 A WindowsIdentity 입니다.

id
String

보안 토큰에 대한 고유 식별자입니다.

authenticationType
String

보안 토큰에 대한 인증 유형입니다.

적용 대상