hasValidCredentials method
- {int minTtl = 0}
override
Checks if a non-expired pair of credentials can be obtained from this manager.
Change the minimum time in seconds that the access token should last
before expiration by setting the minTtl
.
Implementation
@override
Future<bool> hasValidCredentials({
final int minTtl = 0,
}) =>
CredentialsManagerPlatform.instance.hasValidCredentials(
_createApiRequest(HasValidCredentialsOptions(minTtl: minTtl)));