|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.geclipse.core.auth.AuthTokenRequest
public class AuthTokenRequest
This class is used by token requesters in order to specify the type of the token, a name for the requester and the purpose of the token. The requester name and the purpose may be used to present the user some additional information if user interaction is needed in order to create a new token.
| Constructor Summary | |
|---|---|
AuthTokenRequest(IAuthenticationTokenDescription description,
java.lang.String requester,
java.lang.String purpose)
Create a new token request from the specified parameters. |
|
| Method Summary | |
|---|---|
IAuthenticationTokenDescription |
getDescription()
Get the token description. |
java.lang.String |
getPurpose()
Get the token's purpose. |
java.lang.String |
getRequester()
Get the token requester. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthTokenRequest(IAuthenticationTokenDescription description,
java.lang.String requester,
java.lang.String purpose)
null. If the token description is
null any type of token will be returned.
description - The token description that determines which type
of token is requested. One or more parameters of the description are
not null only tokens will be returned that fulfill these
parameters.requester - A short descriptive text representing the requester
or consumer of the token.purpose - A descriptive text denoting the purpose of the token.| Method Detail |
|---|
public IAuthenticationTokenDescription getDescription()
public java.lang.String getPurpose()
public java.lang.String getRequester()
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||