public class GetClientResponse extends Object
Get all details about a client, useful for tools modifying a client
See http://schemas.taskcluster.net/auth/v1/get-client-response.json#
| Modifier and Type | Field and Description |
|---|---|
String |
clientId
ClientId of the client scopes is requested about
|
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.
|
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 |
|---|
GetClientResponse() |
public String clientId
ClientId of the client scopes is requested about
Syntax: ^[A-Za-z0-9@/:._-]+$
See http://schemas.taskcluster.net/auth/v1/get-client-response.json#/properties/clientId
public Date created
Date and time when this client was created
See http://schemas.taskcluster.net/auth/v1/get-client-response.json#/properties/created
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 http://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 avaialble to the user owning the client no longer satisfy the client.
See http://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 http://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 http://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 http://schemas.taskcluster.net/auth/v1/get-client-response.json#/properties/lastDateUsed
public Date lastModified
Date and time of last modification
See http://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 http://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 http://schemas.taskcluster.net/auth/v1/get-client-response.json#/properties/scopes
Copyright © 2014–2016 Mozilla. All rights reserved.