CredentialScope class
What one issuance may do. For storage models, prefix and actions (both
required, a rule this schema leaves to the custodian because other models use
neither); for s3-static-presign, also objectKey, since a presigned URL is one
operation on one object; for oauth2-private-key-jwt, scopes.
Constructors
-
CredentialScope({ProviderObjectPrefix? prefix, List<
ProviderObjectAction> ? actions, String? objectKey, List<String> ? scopes}) -
const
-
CredentialScope.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
-
actions
→ List<
ProviderObjectAction> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- objectKey → String?
-
s3-static-presignonly: the object's name withinprefix. The presigned URL namesprefix+objectKeyand nothing else, andactionsmust hold exactly one action.final - prefix → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ List<
String> ? -
oauth2-private-key-jwtonly: the OAuth scopes requested.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited