C# 클래스 SharpRaven.Data.SentryUser

An interface which describes the authenticated User for a request. You should provide at least either an id (a unique identifier for an authenticated user) or ip_address (their IP address).
파일 보기 프로젝트 열기: getsentry/raven-csharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GetUser ( ISentryUserFactory factory ) : SentryUser

Gets the user.

SentryUser ( IIdentity identity ) : System.Security.Principal

Initializes a new instance of the SentryUser class.

SentryUser ( IPrincipal principal ) : System.Security.Principal

Initializes a new instance of the SentryUser class.

SentryUser ( string username ) : System.Security.Principal

Initializes a new instance of the SentryUser class.

메소드 상세

GetUser() 공개 정적인 메소드

Gets the user.
public static GetUser ( ISentryUserFactory factory ) : SentryUser
factory ISentryUserFactory
리턴 SentryUser

SentryUser() 공개 메소드

Initializes a new instance of the SentryUser class.
public SentryUser ( IIdentity identity ) : System.Security.Principal
identity IIdentity The identity.
리턴 System.Security.Principal

SentryUser() 공개 메소드

Initializes a new instance of the SentryUser class.
public SentryUser ( IPrincipal principal ) : System.Security.Principal
principal IPrincipal The principal.
리턴 System.Security.Principal

SentryUser() 공개 메소드

Initializes a new instance of the SentryUser class.
public SentryUser ( string username ) : System.Security.Principal
username string The username.
리턴 System.Security.Principal