ArmWebPubSubModelFactory.UpstreamAuthSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.WebPubSub.Models.UpstreamAuthSettings UpstreamAuthSettings(Azure.ResourceManager.WebPubSub.Models.UpstreamAuthType? authType = default, string managedIdentityResource = default);
static member UpstreamAuthSettings : Nullable<Azure.ResourceManager.WebPubSub.Models.UpstreamAuthType> * string -> Azure.ResourceManager.WebPubSub.Models.UpstreamAuthSettings
Public Shared Function UpstreamAuthSettings (Optional authType As Nullable(Of UpstreamAuthType) = Nothing, Optional managedIdentityResource As String = Nothing) As UpstreamAuthSettings
Parameters
- authType
- Nullable<UpstreamAuthType>
Upstream auth type enum.
- managedIdentityResource
- String
The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
Returns
A new UpstreamAuthSettings instance for mocking.