Expand description
An OAuth client’s identifier, in the one spelling a policy matches.
Structs§
- Client
Id - An OAuth
client_id, known to be in canonical form.
Enums§
- Client
IdError - Why a string is not a
ClientId.
Constants§
- LOCAL 🔒
- How every local
client_idis spelled, up to its query. - LOCAL_
REDIRECT_ 🔒URIS - The redirect URIs a local client has when its
client_idnames none. - LOCAL_
SCOPE 🔒 - The scope a local client has when its
client_idnames none.
Functions§
- is_
local_ 🔒form - Whether
urlis the profile’s local form:http, hostlocalhost, no port and an empty path. Any otherhttp://localhostURL is an ordinaryclient_idnaming a document to fetch. - is_
local_ origin - Whether
originis the origin of the profile’s local form,http://localhost. A client the server shows with this origin built its own metadata from itsclient_id, so any process on its machine can send the same one. A client fetched fromhttp://localhost/…on a development deployment has this origin too. - local 🔒
- The canonical spelling of the local
client_idraw, which parsed asurl. - portless 🔒
redirect_uriwith any port removed, since the profile matches a local client’s redirect URIs without one.Noneif it is not a URL with a host.