public class CreateClientResponse extends Object
All details about a client including the accessToken
See https://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 clientSyntax: ^[A-Za-z0-9!
|
Date |
created
Date and time when this client was createdSee https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/created
|
boolean |
deleteOnExpiration
If
true , the service may delete this client after it has expired. |
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 expireSee https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/expires
|
Date |
lastDateUsed
Date of last time this client was used.
|
Date |
lastModified
Date and time of last modificationSee https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/lastModified
|
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!
Syntax: ^[a-zA-Z0-9_-]{22,66}$
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/accessToken
public String clientId
ClientId of the client
Syntax: ^[A-Za-z0-9!@/:.+|_-]+$
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/clientId
public Date created
Date and time when this client was created
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/created
public boolean deleteOnExpiration
If true
, the service may delete this client after it has expired. If false
, the client will remain after expiration, although it cannot be used for authentication in that state.
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/deleteOnExpiration
public String description
Description of what these credentials are used for in markdown. Should include who is the owner, point of contact.
Max length: 10240
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/description
public boolean disabled
If true, this client is disabled and cannot be used. This usually occurs when the scopes available to the user owning the client no longer satisfy the client.
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/disabled
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>
.
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/expandedScopes
public Date expires
Date and time where the clients access is set to expire
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/expires
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.
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/lastDateUsed
public Date lastModified
Date and time of last modification
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/lastModified
public Date lastRotated
Date and time of when the accessToken
was reset last time.
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/lastRotated
public String[] scopes
List of scopes the client has (unexpanded).
Default: []
See https://schemas.taskcluster.net/auth/v1/create-client-response.json#/properties/scopes
Copyright © 2014–2018 Mozilla. All rights reserved.