Class GetAccessTokenRequest
Implements
Inherited Members
Namespace: Oci.ContainerregistryService.Requests
Assembly: OCI.DotNetSDK.Containerregistry.dll
Syntax
public class GetAccessTokenRequest : IOciRequest
Examples
Click here to see an example of how to use GetAccessToken request.
Properties
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
Scope
Declaration
[HttpConverter(TargetEnum.Query, "scope")]
public string Scope { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Scope to restrict access to resources. Example: repository:namespace/reponame:pull,push |
Service
Declaration
[HttpConverter(TargetEnum.Query, "service")]
public string Service { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Domain name of the target service server. |