Docs.rs
  • graph-rs-sdk-2.0.1
    • graph-rs-sdk 2.0.1
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • sreeise
    • Dependencies
      • graph-core ^2.0.1 normal
      • graph-error ^0.3.1 normal
      • graph-http ^2.0.1 normal
      • graph-oauth ^2.0.1 normal
      • handlebars ^2.0.4 normal
      • lazy_static ^1.4.0 normal
      • reqwest ^0.12 normal
      • serde ^1 normal
      • serde_json ^1 normal
      • url ^2 normal
      • anyhow ^1.0.69 dev
      • base64 ^0.21.0 dev
      • bytes ^1.4.0 dev
      • futures ^0.3 dev
      • http ^1 dev
      • lazy_static ^1.4 dev
      • log ^0.4 dev
      • pretty_env_logger ^0.5.0 dev
      • tokio ^1.27.0 dev
      • warp ^0.3.5 dev
      • webbrowser ^0.8.7 dev
      • wiremock ^0.5.22 dev
    • Versions
    • 8.06% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

graph_rs_sdk2.0.1

AuthorizationUrl

Required Methods

  • authorization_url
  • authorization_url_with_host
  • redirect_uri

Implementors

In graph_rs_sdk::identity

Trait graph_rs_sdk::identity::AuthorizationUrl

source ·
pub trait AuthorizationUrl {
    // Required methods
    fn redirect_uri(&self) -> Option<&Url>;
    fn authorization_url(&self) -> Result<Url, AuthorizationFailure>;
    fn authorization_url_with_host(
        &self,
        azure_cloud_instance: &AzureCloudInstance,
    ) -> Result<Url, AuthorizationFailure>;
}

Required Methods§

source

fn redirect_uri(&self) -> Option<&Url>

source

fn authorization_url(&self) -> Result<Url, AuthorizationFailure>

source

fn authorization_url_with_host( &self, azure_cloud_instance: &AzureCloudInstance, ) -> Result<Url, AuthorizationFailure>

Implementors§

source§

impl AuthorizationUrl for AuthCodeAuthorizationUrlParameters

source§

impl AuthorizationUrl for OpenIdAuthorizationUrlParameters