PlaceOS::Client::APIWrapper::OAuthApplications
Inherits PlaceOS::Client::APIWrapper::Endpoint::Destroy < PlaceOS::Client::APIWrapper::Endpoint::Fetch < PlaceOS::Client::APIWrapper::Endpoint < Reference < Object
Instance methods
create(name : String, uid : String | Nil = nil, secret : String | Nil = nil, scopes : String | Nil = nil, owner_id : String | Nil = nil, redirect_uri : String | Nil = nil, skip_authorization : Bool | Nil = nil, confidential : Bool | Nil = nil, revoked_at : Time | Nil = nil)
Sourcesearch(q : String | Nil = nil, limit : Int = 20, offset : Int = 0, authority : String | Nil = nil)
List or search for applications.
Results maybe filtered by specifying a query - q - to search across application attributes. A small query language is supported within this:
| Operator | Action |
|---|---|
+ | Matches both terms |
| ` | ` |
- | Negates a single token |
" | Wraps tokens to form a phrase |
( ) | Provides precedence |
~N | Specifies edit distance (fuzziness) after a word |
~N | Specifies slop amount (deviation) after a phrase |
Up to limit application will be returned, with a paging based on offset.
update(id : String, name : String | Nil = nil, uid : String | Nil = nil, secret : String | Nil = nil, scopes : String | Nil = nil, owner_id : String | Nil = nil, redirect_uri : String | Nil = nil, skip_authorization : Bool | Nil = nil, confidential : Bool | Nil = nil, revoked_at : Time | Nil = nil)
Source