|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAuthTokenProvider
This interface is the base for all authentication token providers. It is included in the authentication management extension point but it is not recommended to extend this mechanism since there are two existing extensions (core and ui) that should fit all needs.
Authentication token providers are the central point for all non-core
plugin to request authentication tokens. These non-core classes should
not make use of the AuthenticationTokenManager.
| Method Summary | |
|---|---|
IAuthenticationToken |
requestToken()
Request any authentication token. |
IAuthenticationToken |
requestToken(AuthTokenRequest request)
Request an authentication token of the specified type. |
| Method Detail |
|---|
IAuthenticationToken requestToken()
throws ProblemException
requestToken( null ).
ProblemException - If a problem occured during the token request.
This exception with the ICoreProblems.AUTH_TOKEN_REQUEST_CANCELED
id is especially thrown if the token request was canceled by the user.
IAuthenticationToken requestToken(AuthTokenRequest request)
throws ProblemException
request - A token request that is used to determine the
type of the token that is requested.
ProblemException - If a problem occured during the token request.
This exception with the ICoreProblems.AUTH_TOKEN_REQUEST_CANCELED
id is especially thrown if the token request was canceled by the user.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||