Bonfire.OpenID.Provider.ClientApps (Bonfire v1.0.0-social-rc.3.15)
View SourceSummary
Functions
Hashes a string and encodes it as a UUID.
Define an OAuth client app, providing a name and redirect URI(s)
Returns true if the given string is a UUID.
Functions
Hashes a string and encodes it as a UUID.
iex> uuid = Bonfire.OpenID.Provider.ClientApps.hash_to_uuid("https://foo.bar")
iex> Bonfire.OpenID.Provider.ClientApps.uuid?(uuid)
true
Define an OAuth client app, providing a name and redirect URI(s)
Returns true if the given string is a UUID.
iex> Bonfire.OpenID.Provider.ClientApps.uuid?("b0f15e02-b0f1-b0f1-b0f1-b0f15eb0f15e")
true
iex> Bonfire.OpenID.Provider.ClientApps.uuid?("https://foo.bar")
false