Struct oxide_auth::code_grant::backend::BearerToken [] [src]

pub struct BearerToken(_, _);

Represents an access token, a refresh token and the associated scope for serialization.

Methods

impl BearerToken
[src]

[src]

Convert the token into a json string, viable for being sent over a network with application/json encoding.