Merge "Make expires_at optional"
This commit is contained in:
commit
2296d32edb
@ -23,26 +23,12 @@ Required attributes:
|
||||
- `issued_before` (string, ISO 8601 extended format date time with
|
||||
microseconds)
|
||||
|
||||
This attribute is mutually exclusive with `expires_at`.
|
||||
|
||||
Tokens issued before this time are considered revoked.
|
||||
|
||||
This attribute can be used to determine how long the expiration event is
|
||||
valid. It can also be used in queries to filter events, so that only a subset
|
||||
that have occurred since the last request are returned.
|
||||
|
||||
- `expires_at` (string, ISO 8601 extended format date time with microseconds)
|
||||
|
||||
This attribute is mutually exclusive with `issued_before`.
|
||||
|
||||
Specifies the exact expiration time of one or more tokens to be revoked.
|
||||
|
||||
This attribute is useful for revoking chains of tokens, such as those produced when
|
||||
re-scoping an existing token. When a token is issued based on initial
|
||||
authentication, it is given an `expires_at` value. When a token is used to
|
||||
get another token, the new token will have the same `expires_at` value as the
|
||||
original.
|
||||
|
||||
Optional attributes:
|
||||
|
||||
- `domain_id` (string)
|
||||
@ -71,6 +57,16 @@ Optional attributes:
|
||||
Revoke tokens issued to a specific OAuth consumer, as part of the OS-OAUTH1
|
||||
API extension.
|
||||
|
||||
- `expires_at` (string, ISO 8601 extended format date time with microseconds)
|
||||
|
||||
Specifies the exact expiration time of one or more tokens to be revoked.
|
||||
|
||||
This attribute is useful for revoking chains of tokens, such as those produced when
|
||||
re-scoping an existing token. When a token is issued based on initial
|
||||
authentication, it is given an `expires_at` value. When a token is used to
|
||||
get another token, the new token will have the same `expires_at` value as the
|
||||
original.
|
||||
|
||||
There properties are additive: Only a token that meets all of the specified
|
||||
criteria is considered revoked.
|
||||
|
||||
@ -102,11 +98,12 @@ Response:
|
||||
{
|
||||
"events": [
|
||||
{
|
||||
"issued_before": "2013-02-27T18:30:59.999999Z",
|
||||
"issued_before": "2014-02-27T18:30:59.999999Z",
|
||||
"user_id": "f287de"
|
||||
},
|
||||
{
|
||||
"expires_at": "2014-02-27T18:30:59.999999Z",
|
||||
"expires_at": "2014-02-27T22:10:10.999999Z",
|
||||
"issued_before": "2014-02-27T18:30:59.999999Z",
|
||||
"project_id": "976bf9"
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user