StaticTokenProvider constructor
StaticTokenProvider(
- String _value
Implementation
StaticTokenProvider(this._value) {
if (_value.startsWith('lk_live_') && !_liveKeyWarned) {
_liveKeyWarned = true;
// ignore: avoid_print
print('[Lockally] A live API key was passed to StaticTokenProvider. If this '
'runs inside a distributed app the key is extractable and can be abused. '
'Use BackendTokenProvider or OAuthPkceProvider instead.');
}
}