프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ApiAuthManager | Rally.RestApi.Connection | ||
GetProxy | |||
OpenSsoPage | void | ||
PerformAuthenticationCheckAgainstIdp | RallyRestApi.AuthenticationResult | ||
PerformAuthenticationCheckAgainstRally | RallyRestApi.AuthenticationResult | ||
UpdateAuthenticationState | void |
메소드 | 설명 | |
---|---|---|
AutoAuthenticate ( bool allowSsoForautoAuthenticate ) : RallyRestApi.AuthenticationResult |
Auto authenticates the user if there are saved credentials.
|
|
Configure ( string loginWindowTitle = null, string loginWindowHeaderLabelText = null, string loginWindowCredentialsTabText = null, string loginWindowUserNameLabelText = null, string loginWindowPwdLabelText = null, string loginWindowServerTabText = null, string loginWindowConnectionTypeText = null, string loginWindowServerLabelText = null, string loginWindowTrustAllCertificatesText = null, |
Configures the authorization manger.
|
|
DeleteCachedLoginDetailsFromDisk ( ) : bool |
Deletes any cached login credentials from disk.
|
|
ShowUserLoginWindow ( AuthenticationStateChange authenticationStateChange, SsoAuthenticationComplete ssoAuthenticationComplete ) : void |
Authenticates the user against Rally. This must be called from the UI thread.
|
메소드 | 설명 | |
---|---|---|
ApiAuthManager ( bool isUiSupported, string applicationToken, string encryptionKey, IEncryptionRoutines encryptionRoutines, string webServiceVersion = RallyRestApi.DEFAULT_WSAPI_VERSION, TraceFieldEnum traceInfo = RallyRestApi.DEFAULT_TRACE_FIELDS ) : Rally.RestApi.Connection |
Constructor
|
|
NotifyLoginWindowSsoComplete ( RallyRestApi authenticationResult, RallyRestApi api ) : void |
Notifies the login window that SSO has been completed.
|
|
OpenSsoPageInternal ( |
Opens the window that displays the SSO URL to the user.
|
|
PerformAuthenticationCheck ( string &errorMessage, bool allowSso = true ) : RallyRestApi.AuthenticationResult |
Performs an authentication check against an identity provider (IDP Initiated).
|
|
PerformLogoutFromRally ( ) : void |
Performs an logout from Rally.
|
|
ReportSsoResults ( bool success, string rallyServer, string zSessionID ) : void |
Reports the results of an SSO action.
|
|
ShowUserLoginWindowInternal ( ) : void |
Opens the window that displays the SSO URL to the user.
|
메소드 | 설명 | |
---|---|---|
ApiAuthManager ( ) : Rally.RestApi.Connection | ||
GetProxy ( string &errorMessage ) : |
Creates the web proxy object.
|
|
OpenSsoPage ( |
Opens the specified SSO URL to the user.
|
|
PerformAuthenticationCheckAgainstIdp ( string &errorMessage ) : RallyRestApi.AuthenticationResult |
Performs an authentication check against an identity provider (IDP Initiated).
|
|
PerformAuthenticationCheckAgainstRally ( string &errorMessage, bool allowSso ) : RallyRestApi.AuthenticationResult |
Performs an authentication check against Rally with the specified credentials
|
|
UpdateAuthenticationState ( String errorMessage = "" ) : void |
protected ApiAuthManager ( bool isUiSupported, string applicationToken, string encryptionKey, IEncryptionRoutines encryptionRoutines, string webServiceVersion = RallyRestApi.DEFAULT_WSAPI_VERSION, TraceFieldEnum traceInfo = RallyRestApi.DEFAULT_TRACE_FIELDS ) : Rally.RestApi.Connection | ||
isUiSupported | bool | Does this authentication manager support a UI? |
applicationToken | string | An application token to be used as the file name to store data as (no extension needed). Each /// consuming application should use a unique name in order to ensure that the user credentials are not /// overwritten by other applications. An exception will be thrown elsewhere if this is not a valid file name. |
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.Connection |
public AutoAuthenticate ( bool allowSsoForautoAuthenticate ) : RallyRestApi.AuthenticationResult | ||
allowSsoForautoAuthenticate | bool | Is SSO authentication allowed for auto-authentication? /// This may open a web browser UI. |
리턴 | RallyRestApi.AuthenticationResult |
public static Configure ( string loginWindowTitle = null, string loginWindowHeaderLabelText = null, string loginWindowCredentialsTabText = null, string loginWindowUserNameLabelText = null, string loginWindowPwdLabelText = null, string loginWindowServerTabText = null, string loginWindowConnectionTypeText = null, string loginWindowServerLabelText = null, string loginWindowTrustAllCertificatesText = null, |
||
loginWindowTitle | string | The title to be used for the login window. |
loginWindowHeaderLabelText | string | The header title to be used for the login window. |
loginWindowCredentialsTabText | string | The credentials tab text to be used for the login window. |
loginWindowUserNameLabelText | string | The user name label to be used for the login window. |
loginWindowPwdLabelText | string | The password label to be used for the login window. |
loginWindowServerTabText | string | The server tab label to be used for the login window. |
loginWindowConnectionTypeText | string | The connection type label to be used for the login window. |
loginWindowServerLabelText | string | The server label to be used for the login window. |
loginWindowTrustAllCertificatesText | string | The trust all certificates label to be used for the login window. |
loginWindowDefaultServer | The default server to be used for the login window. | |
loginWindowProxyServerTabText | string | The proxy tab label to be used for the login window. |
loginWindowProxyServerLabelText | string | The proxy server label to be used for the login window. |
loginWindowProxyUserNameLabelText | string | The proxy user name label to be used for the login window. |
loginWindowProxyPwdLabelText | string | The proxy password label to be used for the login window. |
loginWindowDefaultProxyServer | The default proxy server to be used for the login window. | |
loginWindowSsoInProgressText | string | The SSO in progress label to be used for the login window. |
loginWindowLoginButtonText | string | The login button text to be used for the login window. |
loginWindowLogoutButtonText | string | The logout button text to be used for the login window. |
loginWindowCancelButtonText | string | The cancel button text to be used for the login window. |
loginFailureBadServer | string | The error message to be used for when the server is bad (can't connect). |
loginFailureCredentials | string | The error message to be used for when the credentials to Rally are bad. |
loginFailureLoginEmpty | string | The error message to be used for when the login input field is left empty. |
loginFailureServerEmpty | string | The error message to be used for when the server input field is left empty. |
loginFailureProxyCredentials | string | The error message to be used for bad proxy credentials. |
loginFailureBadConnection | string | The error message to be used for bad connection login failures. |
loginFailureUnknown | string | The error message to be used for unknown login failures. |
리턴 | void |
public DeleteCachedLoginDetailsFromDisk ( ) : bool | ||
리턴 | bool |
protected abstract NotifyLoginWindowSsoComplete ( RallyRestApi authenticationResult, RallyRestApi api ) : void | ||
authenticationResult | RallyRestApi | The current state of the authentication process. |
api | RallyRestApi | The API that was authenticated against. |
리턴 | void |
protected abstract OpenSsoPageInternal ( |
||
ssoUrl | The URL for the SSO page to be opened. | |
리턴 | void |
protected PerformAuthenticationCheck ( string &errorMessage, bool allowSso = true ) : RallyRestApi.AuthenticationResult | ||
errorMessage | string | The error message or any that was generated by the authentication check. |
allowSso | bool | Is SSO allowed for this authentication check? |
리턴 | RallyRestApi.AuthenticationResult |
protected ReportSsoResults ( bool success, string rallyServer, string zSessionID ) : void | ||
success | bool | Was SSO authentication completed successfully? |
rallyServer | string | The server that the ZSessionID is for. |
zSessionID | string | The zSessionID that was returned from Rally. |
리턴 | void |
public ShowUserLoginWindow ( AuthenticationStateChange authenticationStateChange, SsoAuthenticationComplete ssoAuthenticationComplete ) : void | ||
authenticationStateChange | AuthenticationStateChange | The delegate to call when an authentication state change occurs. |
ssoAuthenticationComplete | SsoAuthenticationComplete | The delegate to call when an authentication state change occurs due to SSO. |
리턴 | void |
protected abstract ShowUserLoginWindowInternal ( ) : void | ||
리턴 | void |