C# 클래스 Rally.RestApi.UiForWinforms.RestApiAuthMgrWinforms

A Winforms based authentication manager.
상속: Rally.RestApi.Auth.ApiAuthManager
파일 보기 프로젝트 열기: RallyTools/RallyRestToolkitFor.NET 1 사용 예제들

공개 메소드들

메소드 설명
RestApiAuthMgrWinforms ( string applicationToken, string encryptionKey, IEncryptionRoutines encryptionRoutines, string webServiceVersion = RallyRestApi.DEFAULT_WSAPI_VERSION, TraceFieldEnum traceInfo = RallyRestApi.DEFAULT_TRACE_FIELDS ) : Rally.RestApi.Auth

Constructor

SetLogo ( Image logo ) : void

Sets the logo used in the user controls.

보호된 메소드들

메소드 설명
NotifyLoginWindowSsoComplete ( RallyRestApi authenticationResult, RallyRestApi api ) : void

Notifies the login window that SSO has been completed.

OpenSsoPageInternal ( Uri ssoUrl ) : void

Opens the specified SSO URL to the user.

ShowUserLoginWindowInternal ( ) : void

Opens the window that displays the SSO URL to the user.

비공개 메소드들

메소드 설명
PerformAuthenticationCheck ( string &errorMessage ) : RallyRestApi.AuthenticationResult

Performs an authentication check against Rally with the specified credentials

PerformLogout ( ) : void

Performs an logout from Rally.

ReportSsoResultsToMgr ( bool success, string rallyServer, string zSessionID ) : void

Reports the results of an SSO action.

loginControl_Closed ( object sender, EventArgs e ) : void

메소드 상세

NotifyLoginWindowSsoComplete() 보호된 메소드

Notifies the login window that SSO has been completed.
protected NotifyLoginWindowSsoComplete ( RallyRestApi authenticationResult, RallyRestApi api ) : void
authenticationResult RallyRestApi The current state of the authentication process.
api RallyRestApi The API that was authenticated against.
리턴 void

OpenSsoPageInternal() 보호된 메소드

Opens the specified SSO URL to the user.
protected OpenSsoPageInternal ( Uri ssoUrl ) : void
ssoUrl System.Uri The Uri that the user was redirected to in order to perform their SSO authentication.
리턴 void

RestApiAuthMgrWinforms() 공개 메소드

Constructor
public RestApiAuthMgrWinforms ( string applicationToken, string encryptionKey, IEncryptionRoutines encryptionRoutines, string webServiceVersion = RallyRestApi.DEFAULT_WSAPI_VERSION, TraceFieldEnum traceInfo = RallyRestApi.DEFAULT_TRACE_FIELDS ) : Rally.RestApi.Auth
applicationToken string An application token to be used as the file name to store data as. Each /// consuming application should use a unique name in order to ensure that the user credentials are not /// overwritten by other applications.
encryptionKey string The encryption key, or salt, to be used for any encryption routines. This salt /// should be different for each user, and not the same for everyone consuming the same application. Only used /// for UI support.
encryptionRoutines IEncryptionRoutines The encryption routines to use for encryption/decryption of data. Only used for UI support.
webServiceVersion string The version of the WSAPI API to use.
traceInfo TraceFieldEnum Controls diagnostic trace information being logged
리턴 Rally.RestApi.Auth

SetLogo() 공개 정적인 메소드

Sets the logo used in the user controls.
public static SetLogo ( Image logo ) : void
logo Image The image to use as a logo.
리턴 void

ShowUserLoginWindowInternal() 보호된 메소드

Opens the window that displays the SSO URL to the user.
protected ShowUserLoginWindowInternal ( ) : void
리턴 void