Oauth2ScopesConvertExtension extension

Extension to add convert methods to the scopes

on

Methods

toJsonString() String

Available on Oauth2Scopes, provided by the Oauth2ScopesConvertExtension extension

Converts the current Oauth2Scopes to a jsonString

Static Methods

fromJsonString({required String jsonString}) Oauth2Scopes

Available on Oauth2Scopes, provided by the Oauth2ScopesConvertExtension extension

Converts a jsonString to a Oauth2Scopes
generateFromStrings({required List<String> scopesStrings}) List<Oauth2Scopes>

Available on Oauth2Scopes, provided by the Oauth2ScopesConvertExtension extension

Generate the scopes from given scopesStrings
generateScopeStrings({required List<Oauth2Scopes> scopes}) List<String>

Available on Oauth2Scopes, provided by the Oauth2ScopesConvertExtension extension

Generares a scope strings from desired scopes