class PlaceOS::Client::APIWrapper::Ldap

Defined in:

placeos/api_wrapper/auths/ldap.cr

Constructors

Instance Method Summary

Instance methods inherited from class PlaceOS::Client::APIWrapper::AuthBase(PlaceOS::Client::API::Models::LdapAuthentication)

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::LdapAuthentication)

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::LdapAuthentication)

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

def self.new(client : APIWrapper) #

[View source]

Instance Method Detail

def base : String #
Description copied from class PlaceOS::Client::APIWrapper::Endpoint

The base route for the endpoint


[View source]
def create(name : String, authority_id : String, host : String, base : String, port : Int32 | Nil = nil, auth_method : String | Nil = nil, uid : String | Nil = nil, bind_dn : String | Nil = nil, password : String | Nil = nil, filter : String | Nil = nil) #

[View source]
def update(id : String, name : String | Nil = nil, authority_id : String | Nil = nil, port : Int32 | Nil = nil, auth_method : String | Nil = nil, uid : String | Nil = nil, host : String | Nil = nil, base : String | Nil = nil, bind_dn : String | Nil = nil, password : String | Nil = nil, filter : String | Nil = nil) #

[View source]