<PackageReference Include="Relativity.Server.Services.Interfaces.SDK" Version="5000.0.2" />

OAuth2Client

public class OAuth2Client
An OAuth2 Client that allows access to the environment
public int AccessTokenLifetimeInMinutes { get; set; }

How long the access token is valid in seconds

public int? ContextUser { get; set; }

The user that will be used for permissions and auditing

public string Description { get; set; }

Description for the OAuth2 Client

public bool Enabled { get; set; }

Determines if the client is allowed to be used for access

public OAuth2Flow Flow { get; set; }

The flow (grant type) supported by the OAuth2 Client

public string Id { get; set; }

The Id of the OAuth2 Client

public bool IsSystem { get; set; }

Determines if the client is backend client and not shown on the UI

public string Name { get; set; }

Unique name for the OAuth2 Client

public IList<Uri> RedirectUris { get; set; }

List of the Uris that the server will redirect to

public IList<string> Scopes { get; }

List of Scopes this Client is allowed to request

public string Secret { get; set; }

The current secret for the client

public OAuth2Client()

Constructor for the OAuth2 Client