#[non_exhaustive]pub struct AzureTenant {
pub app_client_id: String,
pub client_secret: String,
pub custom_scopes: Option<String>,
pub tenant_id: String,
pub type_: AzureTenantType,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
The definition of the AzureTenant
object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.app_client_id: String
The Client ID, also known as the Application ID in Azure, is a unique identifier for an application. It’s used to identify the application during the authentication process. Your Application (client) ID is listed in the application’s overview page. You can navigate to your application via the Azure Directory.
client_secret: String
The Client Secret is a confidential piece of information known only to the application and Azure AD. It’s used to prove the application’s identity. Your Client Secret is available from the application’s secrets page. You can navigate to your application via the Azure Directory.
custom_scopes: Option<String>
If provided, the custom scope to be requested from Microsoft when acquiring an OAuth 2 access token. This custom scope is used only in conjunction with the HTTP action. A resource’s scope is constructed by using the identifier URI for the resource and .default, separated by a forward slash (/) as follows:{identifierURI}/.default.
tenant_id: String
The Tenant ID, also known as the Directory ID in Azure, is a unique identifier that represents an Azure AD instance. Your Tenant ID (Directory ID) is listed in your Active Directory overview page under the ‘Tenant information’ section.
type_: AzureTenantType
The definition of the AzureTenant
object.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl AzureTenant
impl AzureTenant
pub fn new( app_client_id: String, client_secret: String, tenant_id: String, type_: AzureTenantType, ) -> AzureTenant
pub fn custom_scopes(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for AzureTenant
impl Clone for AzureTenant
Source§fn clone(&self) -> AzureTenant
fn clone(&self) -> AzureTenant
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more