GoogleCloudAuthorizationProvider class
Creates JWT based on Service Account credentials and obtains access token see here on building authorization documentation: https://cloud.google.com/iot/docs/how-tos/credentials/jwts
Constructors
-
GoogleCloudAuthorizationProvider({required String email, required String privateKey, required List<
String> scopes, required Logger logger}) - email - Service account email privateKey - exported to JSON service account private key data scopes - scopes which will be used with generated access token
Properties
Methods
-
getAccessToken(
) → Future< String> - Builds JWT and exchanges it with service account access token
-
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