public class Login extends TaskClusterRequestHandler
The Login service serves as the interface between external authentication systems and TaskCluster credentials. It acts as the server side of https://tools.taskcluster.net. If you are working on federating logins with TaskCluster, this is probably not the service you are looking for. Instead, use the federated login support in the tools site.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
defaultBaseURL |
| Constructor and Description |
|---|
Login() |
Login(Credentials credentials) |
Login(Credentials credentials,
String baseURL) |
Login(String baseURL) |
Login(String clientId,
String accessToken) |
Login(String clientId,
String accessToken,
String certificate) |
| Modifier and Type | Method and Description |
|---|---|
CallSummary<PersonaAssertionRequest,CredentialsResponse> |
credentialsFromPersonaAssertion(PersonaAssertionRequest payload)
Given an assertion, return an appropriate set of temporary credentials.
|
CallSummary<EmptyPayload,EmptyPayload> |
ping()
Respond without doing anything.
|
apiCall, setBaseURL, uriEncodeprotected static final String defaultBaseURL
public Login(Credentials credentials)
public Login(Credentials credentials, String baseURL)
public Login(String baseURL)
public Login()
public CallSummary<PersonaAssertionRequest,CredentialsResponse> credentialsFromPersonaAssertion(PersonaAssertionRequest payload) throws APICallFailure
Given an assertion, return an appropriate set of temporary credentials.
The supplied audience must be on a whitelist of TaskCluster-related sites configured in the login service. This is not a general-purpose assertion-verification service!
public CallSummary<EmptyPayload,EmptyPayload> ping() throws APICallFailure
Respond without doing anything. This endpoint is used to check that the service is up.
APICallFailureCopyright © 2014–2017 Mozilla. All rights reserved.