public class CreateClientResponse extends Object
All details about a client including the accessToken
See http://schemas.taskcluster.net/auth/v1/create-client-response.json#
| Modifier and Type | Field and Description |
|---|---|
String |
accessToken
AccessToken used for authenticating requests, you should store this you won’t be able to retrive it again!
|
String |
clientId
ClientId of the client
|
Date |
created
Date and time when this client was created
|
String |
description
Description of what these credentials are used for in markdown.
|
boolean |
disabled
If true, this client is disabled and cannot be used.
|
String[] |
expandedScopes
List of scopes granted to this client by matching roles, including the client’s scopes and the implicit role
client-id:<clientId>. |
Date |
expires
Date and time where the clients access is set to expire
|
Date |
lastDateUsed
Date of last time this client was used.
|
Date |
lastModified
Date and time of last modification
|
Date |
lastRotated
Date and time of when the
accessToken was reset last time. |
String[] |
scopes
List of scopes the client has (unexpanded).
|
| Constructor and Description |
|---|
CreateClientResponse() |
public String accessToken
AccessToken used for authenticating requests, you should store this you won’t be able to retrive it again!
public String clientId
ClientId of the client
public Date created
Date and time when this client was created
public String description
Description of what these credentials are used for in markdown. Should include who is the owner, point of contact.
public boolean disabled
If true, this client is disabled and cannot be used. This usually occurs when the scopes avaialble to the user owning the client no longer satisfy the client.
public String[] expandedScopes
List of scopes granted to this client by matching roles, including the client’s scopes and the implicit role client-id:<clientId>.
public Date expires
Date and time where the clients access is set to expire
public Date lastDateUsed
Date of last time this client was used. Will only be updated every 6 hours or so this may be off by up-to 6 hours. But it still gives a solid hint as to whether or not this client is in use.
public Date lastModified
Date and time of last modification
public Date lastRotated
Date and time of when the accessToken was reset last time.
public String[] scopes
List of scopes the client has (unexpanded). Scopes must be composed of printable ASCII characters and spaces.
Copyright © 2014–2016 Mozilla. All rights reserved.