DVPlatformApiConfig class
The whole dartvel.platformApi declaration.
Constructors
-
DVPlatformApiConfig({required DVApiScopes scopes, Map<
String, DVApiRatePlan> ratePlans = const <String, DVApiRatePlan>{}, bool requireExpiry = false, DVOAuthSettings? oauth}) - DVPlatformApiConfig.fromConfig(Object? declared)
-
Parses the
dartvel.platformApimap.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- oauth → DVOAuthSettings?
-
Null when the application is not an OAuth provider, which is the
default: an application that serves no authorization endpoint has no
authorization endpoint to get wrong.
final
-
ratePlans
→ Map<
String, DVApiRatePlan> -
Requests per window, by plan name. A key names its plan at issue.
final
- requireExpiry → bool
-
Whether a key issued with no expiry raises
DV-APIKEY-005.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scopes → DVApiScopes
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited