Enum oauth2::client_type::ClientType
[−]
[src]
pub enum ClientType {
ConfidentialClient,
PublicClient,
}Client Type, either 'confidential' or 'public'.
See RFC 6749 Section 2.2. In particular:
- If the client cannot be trusted with secrets, it is 'public'. This usually includes all clients in end-user hands like javascript ones, but strictly speaking it depends on your security model.
Variants
ConfidentialClientClient that can confidentially store secrets
PublicClientClient that is not trusted to confidentially store secrets
Trait Implementations
impl Debug for ClientType[src]
impl Eq for ClientType[src]
impl PartialEq for ClientType[src]
fn eq(&self, __arg_0: &ClientType) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for ClientType[src]
impl Clone for ClientType[src]
fn clone(&self) -> ClientType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more