View Source ExOauth2Provider.RedirectURI (ExOauth2Provider v0.5.7)
Functions for dealing with redirect uri.
Summary
Functions
Check if uri matches client uri
Check if a url is native
Adds query parameters to uri
Check if a url matches a client redirect_uri
Validates if a url can be used as a redirect_uri.
Functions
@spec matches?(binary(), binary(), keyword()) :: boolean()
@spec matches?(URI.t(), URI.t(), keyword()) :: boolean()
Check if uri matches client uri
Check if a url is native
Adds query parameters to uri
Check if a url matches a client redirect_uri
Validates if a url can be used as a redirect_uri.
Validates according to RFC 6749 3.1.2
and RFC 8252 7.1. The validation is
skipped if the redirect uri is the same as the :native_redirect_uri
configuration
setting.