Struct oxide_auth::endpoint::Solicitation [−][src]
pub struct Solicitation<'flow> { /* fields omitted */ }Expand description
A pending solicitation to a resource owner.
This encapsulates the information available to an OwnerSolicitor when querying consent
information.
Implementations
Clone the solicitation into an owned structure.
This mainly helps with sending it across threads.
Return the pre-grant associated with the request.
The information in the PreGrant is the authoritative information on the client and scopes
associated with the request. It has already been validated against those settings and
restrictions that were applied when registering the client.
The state provided by the client request.
This will need to be provided to the response back to the client so it must be preserved across a redirect or a consent screen presented by the user agent.
Create a new solicitation request from a pre grant.
You usually wouldn’t need to call this manually as it is called by the endpoint’s flow and then handed with all available information to the solicitor.
Add a client state to the solicitation.