protected AzureRestRequest(IJSONContractSerializer serializer, AuthToken token, IAPIEndpoint endpoint)
     : base(serializer, endpoint, token?.access_token)
 {
 }
 public GetNextLinkRequest(IJSONContractSerializer serializer, AuthToken token, string nextLink)
     : base(serializer, token, new APIEndpoint(nextLink))
 {
 }
Beispiel #3
0
 public GetSecretVersionsRequest(IJSONContractSerializer serializer, AuthToken token, string vaultName, string secretName)
     : base(serializer, token, new APIEndpoint(string.Format("https://{0}.vault.azure.net/secrets/{1}/versions?api-version=7.0", vaultName, secretName)))
 {
 }
Beispiel #4
0
 public GetSecretRequest(IJSONContractSerializer serializer, AuthToken token, string secretId)
     : base(serializer, token, new APIEndpoint(secretId).AddQuery("api-version", "7.0"))
 {
 }