OpenAPIOAuthFlow.password constructor
OpenAPIOAuthFlow.password({})
Creates a password OAuth flow.
Implementation
factory OpenAPIOAuthFlow.password({
required String tokenUrl,
required Map<String, String> scopes,
String? refreshUrl,
Map<String, Object?>? extensions,
}) => OpenAPIOAuthFlow._({
'tokenUrl': tokenUrl,
'scopes': Map<String, String>.unmodifiable(scopes),
'refreshUrl': ?refreshUrl,
...?prefixExtensions(extensions),
});