class
PlaceOS::Client::APIWrapper::OAuth
- PlaceOS::Client::APIWrapper::OAuth
- PlaceOS::Client::APIWrapper::AuthBase(PlaceOS::Client::API::Models::OAuthAuthentication)
- PlaceOS::Client::APIWrapper::Endpoint
- Reference
- Object
Defined in:
placeos/api_wrapper/auths/oauth.crConstructors
Instance Method Summary
-
#base : String
The base route for the endpoint
- #create(name : String, authority_id : String, client_id : String | Nil = nil, client_secret : String | Nil = nil, info_mappings : Hash(String, String) | Nil = nil, site : String | Nil = nil, authorize_url : String | Nil = nil, token_method : String | Nil = nil, auth_scheme : String | Nil = nil, token_url : String | Nil = nil, scope : String | Nil = nil, raw_info_url : String | Nil = nil)
- #update(id : String, name : String | Nil = nil, authority_id : String | Nil = nil, client_id : String | Nil = nil, client_secret : String | Nil = nil, info_mappings : Hash(String, String) | Nil = nil, site : String | Nil = nil, authorize_url : String | Nil = nil, token_method : String | Nil = nil, auth_scheme : String | Nil = nil, token_url : String | Nil = nil, scope : String | Nil = nil, raw_info_url : String | Nil = nil)
Instance methods inherited from class PlaceOS::Client::APIWrapper::AuthBase(PlaceOS::Client::API::Models::OAuthAuthentication)
create(**args) : Model
create,
search(q : String | Nil = nil, limit : Int = 20, offset : Int = 0, authority_id : String | Nil = nil)
search,
update(**args)
update
Constructor methods inherited from class PlaceOS::Client::APIWrapper::AuthBase(PlaceOS::Client::API::Models::OAuthAuthentication)
new(client : APIWrapper)
new
Instance methods inherited from module PlaceOS::Client::APIWrapper::Endpoint::Destroy
destroy(id : String)
destroy
Instance methods inherited from module PlaceOS::Client::APIWrapper::Endpoint::Fetch(PlaceOS::Client::API::Models::OAuthAuthentication)
fetch(id : String)
fetch
Instance methods inherited from class PlaceOS::Client::APIWrapper::Endpoint
base : String
base
Constructor methods inherited from class PlaceOS::Client::APIWrapper::Endpoint
new(client : APIWrapper)
new
Macros inherited from class PlaceOS::Client::APIWrapper::Endpoint
delete(path, params = nil, headers = nil, body = nil, as model = nil)
delete,
get(path, params = nil, headers = nil, body = nil, as model = nil)
get,
head(path, params = nil, headers = nil, body = nil, as model = nil)
head,
options(path, params = nil, headers = nil, body = nil, as model = nil)
options,
patch(path, params = nil, headers = nil, body = nil, as model = nil)
patch,
post(path, params = nil, headers = nil, body = nil, as model = nil)
post,
put(path, params = nil, headers = nil, body = nil, as model = nil)
put
Constructor Detail
Instance Method Detail
def base : String
#
Description copied from class PlaceOS::Client::APIWrapper::Endpoint
The base route for the endpoint
def create(name : String, authority_id : String, client_id : String | Nil = nil, client_secret : String | Nil = nil, info_mappings : Hash(String, String) | Nil = nil, site : String | Nil = nil, authorize_url : String | Nil = nil, token_method : String | Nil = nil, auth_scheme : String | Nil = nil, token_url : String | Nil = nil, scope : String | Nil = nil, raw_info_url : String | Nil = nil)
#
def update(id : String, name : String | Nil = nil, authority_id : String | Nil = nil, client_id : String | Nil = nil, client_secret : String | Nil = nil, info_mappings : Hash(String, String) | Nil = nil, site : String | Nil = nil, authorize_url : String | Nil = nil, token_method : String | Nil = nil, auth_scheme : String | Nil = nil, token_url : String | Nil = nil, scope : String | Nil = nil, raw_info_url : String | Nil = nil)
#