HomeConnectAuth class abstract

Constructors

HomeConnectAuth()

Properties

codeVerifier String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<OauthScope>
getter/setter pair

Methods

authorize(Uri baseUrl, HomeConnectClientCredentials credentials) Future<HomeConnectAuthCredentials>
exchangeCode(Uri baseUrl, HomeConnectClientCredentials credentials, String code) Future<HomeConnectAuthCredentials>
Exchange the code for an access token. throws OauthCodeException if the code request fails.
getCodeGrant(Uri baseUrl, HomeConnectClientCredentials credentials) Uri
Get the code grant url
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refresh(Uri baseUrl, String refreshToken) Future<HomeConnectAuthCredentials>
Refresh the access token with the provided refreshToken.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited