ServicePrincipalSecretAuthInfo(String, Guid, String) Constructor
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.
Initializes a new instance of ServicePrincipalSecretAuthInfo.
public ServicePrincipalSecretAuthInfo (string clientId, Guid principalId, string secret);
new Azure.ResourceManager.ServiceLinker.Models.ServicePrincipalSecretAuthInfo : string * Guid * string -> Azure.ResourceManager.ServiceLinker.Models.ServicePrincipalSecretAuthInfo
Public Sub New (clientId As String, principalId As Guid, secret As String)
Parameters
- clientId
- String
ServicePrincipal application clientId for servicePrincipal auth.
- principalId
- Guid
Principal Id for servicePrincipal auth.
- secret
- String
Secret for servicePrincipal auth.
Exceptions
clientId
or secret
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET