/// Create a new OAuth instance.
///
/// # Example
/// ```
/// use graph_oauth::oauth::{OAuth, GrantType};
///
/// let mut oauth = OAuth::new();
/// ```
Create a new OAuth instance.
Create a new OAuth instance .
pub fn new() -> OAuth {
        OAuth {
            access_token: None,
            scopes: BTreeSet::new(),
            credentials: BTreeMap::new(),
        }
    }
pub fn new ( ) -> OAuth { OAuth { access_token : None , scopes : BTreeSet :: new ( ) , credentials : BTreeMap :: new ( ) , } }
Create a new OAuth instance.
Create a new OAuth instance .
example
```
use graph_oauth::oauth::{OAuth, GrantType}.

let mut oauth = OAuth::new();
```
` ` ` use graph_oauth :: oauth :: { OAuth GrantType } . let mut oauth = OAuth :: new () ; ` ` `