Skip to main content

CommonConstants

Namespace: Meshmakers.Octo.Communication.Contracts

Common constants used in the application

public static class CommonConstants

Inheritance Object → CommonConstants

Fields​

OctoDefaultScopes​

Defines default scopes as minimal constraint

public static String[] OctoDefaultScopes;

GoogleIdentityProvider​

public static string GoogleIdentityProvider;

MicrosoftIdentityProvider​

public static string MicrosoftIdentityProvider;

OctoApi​

public static string OctoApi;

OctoApiDisplayName​

public static string OctoApiDisplayName;

OctoApiDescription​

public static string OctoApiDescription;

OctoApiFullAccess​

public static string OctoApiFullAccess;

OctoApiFullAccessDisplayName​

public static string OctoApiFullAccessDisplayName;

OctoApiReadOnly​

public static string OctoApiReadOnly;

OctoApiReadOnlyDisplayName​

public static string OctoApiReadOnlyDisplayName;

OctoApiDataModelManagement​

public static string OctoApiDataModelManagement;

OctoApiDataModelManagementDisplayName​

public static string OctoApiDataModelManagementDisplayName;

OctoToolClientId​

public static string OctoToolClientId;

OctoToolClientSecret​

public static string OctoToolClientSecret;

AssetRepositoryServicesClientId​

public static string AssetRepositoryServicesClientId;

BotServicesClientId​

public static string BotServicesClientId;

CommunicationControllerServicesClientId​

public static string CommunicationControllerServicesClientId;

ReportingServicesClientId​

public static string ReportingServicesClientId;

IdentityServicesSwaggerClientId​

public static string IdentityServicesSwaggerClientId;

AsserRepositoryServicesSwaggerClientId​

public static string AsserRepositoryServicesSwaggerClientId;

BotServicesSwaggerClientId​

public static string BotServicesSwaggerClientId;

CommunicationControllerServicesSwaggerClientId​

public static string CommunicationControllerServicesSwaggerClientId;

ReportingServicesSwaggerClientId​

public static string ReportingServicesSwaggerClientId;

McpServicesSwaggerClientId​

public static string McpServicesSwaggerClientId;

McpServicesDeviceClientId​

public static string McpServicesDeviceClientId;

AdminPanelManagementRole​

public static string AdminPanelManagementRole;

BotManagementRole​

public static string BotManagementRole;

TenantManagementRole​

public static string TenantManagementRole;

DevelopmentRole​

public static string DevelopmentRole;

UserManagementRole​

public static string UserManagementRole;

CommunicationManagementRole​

public static string CommunicationManagementRole;

DashboardManagementRole​

public static string DashboardManagementRole;

DashboardViewerRole​

public static string DashboardViewerRole;

ReportingManagementRole​

public static string ReportingManagementRole;

ReportingViewerRole​

public static string ReportingViewerRole;

DataModelManagementRole​

public static string DataModelManagementRole;

StreamDataAdminRole​

public static string StreamDataAdminRole;

StreamDataWriterRole​

public static string StreamDataWriterRole;

StreamDataReaderRole​

public static string StreamDataReaderRole;

TenantOwnersGroup​

public static string TenantOwnersGroup;

Methods​

GetScopes(ApiScopes, IEnumerable<String>, DefaultScopes)​

Returns a scope definition including default scopes and api scopes

public static string GetScopes(ApiScopes apiScopes, IEnumerable<string> customScopes, DefaultScopes scopes)

Parameters​

apiScopes ApiScopes
Enum flags for API scopes.

customScopes IEnumerable<String>
Additional custom scopes to be added to the token

scopes DefaultScopes
Default scopes that are added

Returns​

String