public class GetClientResponse extends Object
Get all details about a client, useful for tools modifying a client
See https://schemas.taskcluster.net/auth/v1/get-client-response.json#
Modifier and Type | Field and Description |
---|---|
String |
clientId
ClientId of the client scopes is requested aboutSyntax: ^[A-Za-z0-9!
|
Date |
created
Date and time when this client was createdSee https://schemas.taskcluster.net/auth/v1/get-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.
|
Date |
expires
Date and time where the clients access is set to expireSee https://schemas.taskcluster.net/auth/v1/get-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/get-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 |
---|
GetClientResponse() |
public String clientId
ClientId of the client scopes is requested about
Syntax: ^[A-Za-z0-9!@/:.+|_-]+$
See https://schemas.taskcluster.net/auth/v1/get-client-response.json#/properties/clientId
public Date created
Date and time when this client was created
See https://schemas.taskcluster.net/auth/v1/get-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/get-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/get-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/get-client-response.json#/properties/disabled
public String[] expandedScopes
List of scopes granted to this client by matching roles. Scopes must be composed of printable ASCII characters and spaces.
See https://schemas.taskcluster.net/auth/v1/get-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/get-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/get-client-response.json#/properties/lastDateUsed
public Date lastModified
Date and time of last modification
See https://schemas.taskcluster.net/auth/v1/get-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/get-client-response.json#/properties/lastRotated
public String[] scopes
List of scopes the client has (unexpanded). Scopes must be composed of printable ASCII characters and spaces.
Default: []
See https://schemas.taskcluster.net/auth/v1/get-client-response.json#/properties/scopes
Copyright © 2014–2018 Mozilla. All rights reserved.