Show / Hide Table of Contents

Class Realm

Class containing all Identity realms.
Accounts (tenancies) are per Realm.

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

Fields

OC1

Declaration
public static readonly Realm OC1
Field Value
Type Description
Realm

OC10

Declaration
public static readonly Realm OC10
Field Value
Type Description
Realm

OC14

Declaration
public static readonly Realm OC14
Field Value
Type Description
Realm

OC15

Declaration
public static readonly Realm OC15
Field Value
Type Description
Realm

OC19

Declaration
public static readonly Realm OC19
Field Value
Type Description
Realm

OC2

Declaration
public static readonly Realm OC2
Field Value
Type Description
Realm

OC20

Declaration
public static readonly Realm OC20
Field Value
Type Description
Realm

OC21

Declaration
public static readonly Realm OC21
Field Value
Type Description
Realm

OC23

Declaration
public static readonly Realm OC23
Field Value
Type Description
Realm

OC24

Declaration
public static readonly Realm OC24
Field Value
Type Description
Realm

OC26

Declaration
public static readonly Realm OC26
Field Value
Type Description
Realm

OC29

Declaration
public static readonly Realm OC29
Field Value
Type Description
Realm

OC3

Declaration
public static readonly Realm OC3
Field Value
Type Description
Realm

OC35

Declaration
public static readonly Realm OC35
Field Value
Type Description
Realm

OC4

Declaration
public static readonly Realm OC4
Field Value
Type Description
Realm

OC8

Declaration
public static readonly Realm OC8
Field Value
Type Description
Realm

OC9

Declaration
public static readonly Realm OC9
Field Value
Type Description
Realm

OCI_DEFAULT_REALM

Declaration
public static readonly string OCI_DEFAULT_REALM
Field Value
Type Description
string

logger

Declaration
protected static Logger logger
Field Value
Type Description
Logger

Properties

RealmId

The id of a realm.

Declaration
public string RealmId { get; }
Property Value
Type Description
string

SecondLevelDomain

The second level domain of a realm.

Declaration
public string SecondLevelDomain { get; }
Property Value
Type Description
string

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).

ResetDeveloperToolConfig()

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
Type Description
Realm[]
In this article
Back to top