Class Realm
Class containing all Identity realms.
Accounts (tenancies) are per Realm.
Assembly: OCI.DotNetSDK.Common.dll
Syntax
Fields
OC1
Declaration
public static readonly Realm OC1
Field Value
OC10
Declaration
public static readonly Realm OC10
Field Value
OC14
Declaration
public static readonly Realm OC14
Field Value
OC15
Declaration
public static readonly Realm OC15
Field Value
OC19
Declaration
public static readonly Realm OC19
Field Value
OC2
Declaration
public static readonly Realm OC2
Field Value
OC20
Declaration
public static readonly Realm OC20
Field Value
OC21
Declaration
public static readonly Realm OC21
Field Value
OC23
Declaration
public static readonly Realm OC23
Field Value
OC24
Declaration
public static readonly Realm OC24
Field Value
OC26
Declaration
public static readonly Realm OC26
Field Value
OC29
Declaration
public static readonly Realm OC29
Field Value
OC3
Declaration
public static readonly Realm OC3
Field Value
OC4
Declaration
public static readonly Realm OC4
Field Value
OC8
Declaration
public static readonly Realm OC8
Field Value
OC9
Declaration
public static readonly Realm OC9
Field Value
OCI_DEFAULT_REALM
Declaration
public static readonly string OCI_DEFAULT_REALM
Field Value
logger
Declaration
protected static Logger logger
Field Value
Properties
RealmId
Declaration
public string RealmId { get; }
Property Value
SecondLevelDomain
The second level domain of a realm.
Declaration
public string SecondLevelDomain { get; }
Property Value
Methods
Register(string, string, bool)
Register a new Realm. Allow the SDK to be forward compatible with unreleased realms.
Declaration
public static Realm Register(string realmId, string secondlevelDomain, bool isDeveloperToolConfigRealm = false)
Parameters
Type |
Name |
Description |
string |
realmId |
The realm id.
|
string |
secondlevelDomain |
The second level domain of the realm.
|
bool |
isDeveloperToolConfigRealm |
The bool value denoting if the Realm is an DeveloperToolConfig Realm or not. Set to false by default.
|
Returns
Type |
Description |
Realm |
The registered Realm (or existing one if found).
|
Declaration
public static void ResetDeveloperToolConfig()
ValueOf(string)
Returns the Realm object matching the specified id. The id must
match exactly. (Extraneous whitespace characters are not permitted.)
Declaration
public static Realm ValueOf(string realmId)
Parameters
Type |
Name |
Description |
string |
realmId |
The id of the realm to retrieve.
|
Returns
Type |
Description |
Realm |
The Realm object matching the specified name, if available.
|
Values()
All known Realms in this version of SDK.
Declaration
public static Realm[] Values()
Returns