CPub.Web.Authorization.Client (CPub v0.3.0) View Source
An OAuth 2.0 client that authenticates with CPub (see https://tools.ietf.org/html/rfc6749#section-2).
A client holds some metadata such as a human readable name (:client_name)
and the authorization scopes (:scopes) the client can request.
Link to this section Summary
Link to this section Types
Specs
Link to this section Functions
Specs
Create a new OAuth 2.0 client
Specs
Get a client by id.
Specs
Returns a single redirect uri.
If params contains a "redirect_uri" key the value will be checked to match
the redirect_uris of the client.
If params does not contain a redirect_uri the first uri from
client.redirect_uris will be used.