pub struct EntraTokenAcquireRequest {
pub access_token_to_renew: Option<String>,
pub client_id: String,
pub interaction: EntraTokenInteraction,
pub redirect_uri: String,
pub scopes: Vec<String>,
pub tenant_id: String,
}Expand description
OneAuth token request supplied by a trusted host application.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§access_token_to_renew: Option<String>Previously rejected token that OneAuth must bypass during renewal.
client_id: StringPublic client application id.
interaction: EntraTokenInteractionWhether the broker may show interaction.
redirect_uri: StringBroker redirect URI registered for the client. Required: the OneAuth broker validates a non-empty, registered redirect URI for the public client (MSAL broker registration), so this is not a browser-flow vestige and cannot be omitted.
scopes: Vec<String>Exact delegated scopes to request.
tenant_id: StringTenant id or tenant selector, such as common or organizations.
Trait Implementations§
Source§impl Clone for EntraTokenAcquireRequest
impl Clone for EntraTokenAcquireRequest
Source§impl Debug for EntraTokenAcquireRequest
impl Debug for EntraTokenAcquireRequest
Source§impl Default for EntraTokenAcquireRequest
impl Default for EntraTokenAcquireRequest
Source§impl<'de> Deserialize<'de> for EntraTokenAcquireRequest
impl<'de> Deserialize<'de> for EntraTokenAcquireRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EntraTokenAcquireRequest
impl RefUnwindSafe for EntraTokenAcquireRequest
impl Send for EntraTokenAcquireRequest
impl Sync for EntraTokenAcquireRequest
impl Unpin for EntraTokenAcquireRequest
impl UnsafeUnpin for EntraTokenAcquireRequest
impl UnwindSafe for EntraTokenAcquireRequest
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