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 and 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.
|
Modifier and Type | Method and 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.
|
public static final App.TrustScope Explicit
public static final App.TrustScope Account
public static final App.TrustScope Tags
public static final App.TrustScope Default
public static final App.TrustScope UnknownEnumValue
public static App.TrustScope[] values()
for (App.TrustScope c : App.TrustScope.values()) System.out.println(c);
public static App.TrustScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static App.TrustScope create(String key)
Copyright © 2016–2024. All rights reserved.