Enum App.TrustScope
- java.lang.Object
-
- java.lang.Enum<App.TrustScope>
-
- com.oracle.bmc.identitydomains.model.App.TrustScope
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<App.TrustScope>
- Enclosing class:
- App
public static enum App.TrustScope extends Enum<App.TrustScope> implements BmcEnum
Indicates the scope of trust for this App when acting as an OAuthClient.A value of ‘Explicit’ indicates that the App is allowed to access only the scopes of OAuthResources that are explicitly specified as ‘allowedScopes’. A value of ‘Account’ indicates that the App is allowed implicitly to access any scope of any OAuthResource within the same Oracle Cloud Account. A value of ‘Tags’ indicates that the App is allowed to access any scope of any OAuthResource with a matching tag within the same Oracle Cloud Account. A value of ‘Default’ indicates that the Tenant default trust scope configured in the Tenant Settings is used.
*Added In:** 17.4.2
*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Account
Default
Explicit
Tags
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static App.TrustScope
create(String key)
String
getValue()
static App.TrustScope
valueOf(String name)
Returns the enum constant of this type with the specified name.static App.TrustScope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Explicit
public static final App.TrustScope Explicit
-
Account
public static final App.TrustScope Account
-
Tags
public static final App.TrustScope Tags
-
Default
public static final App.TrustScope Default
-
UnknownEnumValue
public static final App.TrustScope UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static App.TrustScope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (App.TrustScope c : App.TrustScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static App.TrustScope valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static App.TrustScope create(String key)
-
-