Show / Hide Table of Contents

Class AccessToken

Access token response for OCI Container Registry extension authentication.

Inheritance
object
AccessToken
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ContainerregistryService.Models
Assembly: OCI.DotNetSDK.Containerregistry.dll
Syntax
public class AccessToken

Properties

AccessTokenProp

Declaration
[Required(ErrorMessage = "AccessTokenProp is required.")]
[JsonProperty(PropertyName = "access_token")]
public string AccessTokenProp { get; set; }
Property Value
Type Description
string

Access token string (alias for token).

Remarks

Required

ExpiresIn

Declaration
[Required(ErrorMessage = "ExpiresIn is required.")]
[JsonProperty(PropertyName = "expires_in")]
public int? ExpiresIn { get; set; }
Property Value
Type Description
int?

Seconds until the token expires.

Remarks

Required

Scope

Declaration
[Required(ErrorMessage = "Scope is required.")]
[JsonProperty(PropertyName = "scope")]
public string Scope { get; set; }
Property Value
Type Description
string

Scope that restricts access to resources.

Remarks

Required

Token

Declaration
[Required(ErrorMessage = "Token is required.")]
[JsonProperty(PropertyName = "token")]
public string Token { get; set; }
Property Value
Type Description
string

Access token string.

Remarks

Required

In this article
Back to top