Enum oxide_auth::code_grant::frontend::OAuthError [] [src]

pub enum OAuthError {
    InternalCodeError(),
    InternalAccessError(),
    AccessDenied,
}

Errors which should not or need not be communicated to the requesting party but which are of interest to the server. See the documentation for each enum variant for more documentation on each as some may have an expected response. These include badly formatted headers or url encoded body, unexpected parameters, or security relevant required parameters.

Variants

Some unexpected, internal error occured-

Access should be silently denied, without providing further explanation.

For example, this response is given when an incorrect client has been provided in the authorization request in order to avoid potential indirect denial of service vulnerabilities.

No authorization has been granted.

Trait Implementations

impl Debug for OAuthError
[src]

[src]

Formats the value using the given formatter.

impl Display for OAuthError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for OAuthError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more