pub struct ClientCredentialsAuthorizationUrlParameterBuilder { /* private fields */ }
Implementations§
source§impl ClientCredentialsAuthorizationUrlParameterBuilder
impl ClientCredentialsAuthorizationUrlParameterBuilder
pub fn new(client_id: impl AsRef<str>) -> Self
pub fn with_client_id<T: AsRef<str>>( &mut self, client_id: T ) -> IdentityResult<&mut Self>
pub fn with_redirect_uri(&mut self, redirect_uri: Url) -> &mut Self
sourcepub fn with_tenant<T: AsRef<str>>(&mut self, tenant: T) -> &mut Self
pub fn with_tenant<T: AsRef<str>>(&mut self, tenant: T) -> &mut Self
Convenience method. Same as calling [with_authority(Authority::TenantId(“tenant_id”))]
pub fn with_state<T: AsRef<str>>(&mut self, state: T) -> &mut Self
pub fn build(&self) -> ClientCredentialsAuthorizationUrlParameters
pub fn url(&self) -> IdentityResult<Url>
pub fn with_client_secret( self, client_secret: impl AsRef<str> ) -> ClientSecretCredentialBuilder
pub fn with_client_assertion( self, signed_assertion: impl AsRef<str> ) -> ClientAssertionCredentialBuilder
Trait Implementations§
source§impl Clone for ClientCredentialsAuthorizationUrlParameterBuilder
impl Clone for ClientCredentialsAuthorizationUrlParameterBuilder
source§fn clone(&self) -> ClientCredentialsAuthorizationUrlParameterBuilder
fn clone(&self) -> ClientCredentialsAuthorizationUrlParameterBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ClientCredentialsAuthorizationUrlParameterBuilder
impl RefUnwindSafe for ClientCredentialsAuthorizationUrlParameterBuilder
impl Send for ClientCredentialsAuthorizationUrlParameterBuilder
impl Sync for ClientCredentialsAuthorizationUrlParameterBuilder
impl Unpin for ClientCredentialsAuthorizationUrlParameterBuilder
impl UnwindSafe for ClientCredentialsAuthorizationUrlParameterBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more