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;
IdentityApi
public static string IdentityApi;
IdentityApiDisplayName
public static string IdentityApiDisplayName;
IdentityApiDescription
public static string IdentityApiDescription;
IdentityApiFullAccess
public static string IdentityApiFullAccess;
IdentityApiFullAccessDisplayName
public static string IdentityApiFullAccessDisplayName;
IdentityApiReadOnly
public static string IdentityApiReadOnly;
IdentityApiReadOnlyDisplayName
public static string IdentityApiReadOnlyDisplayName;
CommunicationSystemApi
public static string CommunicationSystemApi;
CommunicationSystemApiDisplayName
public static string CommunicationSystemApiDisplayName;
CommunicationSystemApiDescription
public static string CommunicationSystemApiDescription;
CommunicationTenantApi
public static string CommunicationTenantApi;
CommunicationTenantApiDisplayName
public static string CommunicationTenantApiDisplayName;
CommunicationTenantApiDescription
public static string CommunicationTenantApiDescription;
CommunicationSystemApiFullAccess
public static string CommunicationSystemApiFullAccess;
CommunicationSystemApiFullAccessDisplayName
public static string CommunicationSystemApiFullAccessDisplayName;
CommunicationTenantApiFullAccess
public static string CommunicationTenantApiFullAccess;
CommunicationTenantApiFullAccessDisplayName
public static string CommunicationTenantApiFullAccessDisplayName;
CommunicationTenantApiReadOnly
public static string CommunicationTenantApiReadOnly;
CommunicationTenantApiReadOnlyDisplayName
public static string CommunicationTenantApiReadOnlyDisplayName;
SystemApi
public static string SystemApi;
SystemApiDisplayName
public static string SystemApiDisplayName;
SystemApiDescription
public static string SystemApiDescription;
SystemApiFullAccess
public static string SystemApiFullAccess;
SystemApiFullAccessDisplayName
public static string SystemApiFullAccessDisplayName;
SystemApiReadOnly
public static string SystemApiReadOnly;
SystemApiReadOnlyDisplayName
public static string SystemApiReadOnlyDisplayName;
BotApi
public static string BotApi;
BotApiDisplayName
public static string BotApiDisplayName;
BotApiDescription
public static string BotApiDescription;
BotApiFullAccess
public static string BotApiFullAccess;
BotApiFullAccessDisplayName
public static string BotApiFullAccessDisplayName;
BotApiReadOnly
public static string BotApiReadOnly;
BotApiReadOnlyDisplayName
public static string BotApiReadOnlyDisplayName;
OctoToolClientId
public static string OctoToolClientId;
OctoToolClientSecret
public static string OctoToolClientSecret;
OctoAdminPanelClientId
public static string OctoAdminPanelClientId;
OctoAdminPanelClientIdDebug
public static string OctoAdminPanelClientIdDebug;
AssetRepositoryServicesClientId
public static string AssetRepositoryServicesClientId;
BotServicesClientId
public static string BotServicesClientId;
CommunicationControllerServicesClientId
public static string CommunicationControllerServicesClientId;
IdentityServicesSwaggerClientId
public static string IdentityServicesSwaggerClientId;
AsserRepositoryServicesSwaggerClientId
public static string AsserRepositoryServicesSwaggerClientId;
BotServicesSwaggerClientId
public static string BotServicesSwaggerClientId;
CommunicationControllerServicesSwaggerClientId
public static string CommunicationControllerServicesSwaggerClientId;
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;
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