Class ServicePrincipalCredentials
Service Principal credentials allow your application to call PDF Services API. For getting the credentials, Click Here
Inheritance
System.Object
ServicePrincipalCredentials
Implements
Namespace: Adobe.PDFServicesSDK.auth
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class ServicePrincipalCredentials : ICredentials
Constructors
ServicePrincipalCredentials(String, String)
Creates an instance of ServicePrincipalCredentials
.
Declaration
public ServicePrincipalCredentials(string clientId, string clientSecret)
Parameters
Type | Name | Description |
---|---|---|
System.String | clientId | Client Id for ServicePrincipalCredentials; cannot be null or empty. |
System.String | clientSecret | Client secret for ServicePrincipalCredentials; cannot be null or empty. |
Properties
ClientId
Gets the client id for ServicePrincipalCredentials
.
Declaration
public string ClientId { get; }
Property Value
Type | Description |
---|---|
System.String |
ClientSecret
Gets the client secret for ServicePrincipalCredentials
.
Declaration
public string ClientSecret { get; }
Property Value
Type | Description |
---|---|
System.String |