Oauth2ScopesConvertExtension extension

Extension to add convert methods to the scopes

on

Methods

toJsonString() String
Converts the current Oauth2Scopes to a jsonString

Static Methods

fromJsonString({required String jsonString}) Oauth2Scopes
Converts a jsonString to a Oauth2Scopes
generateFromStrings({required List<String> scopesStrings}) List<Oauth2Scopes>
Generate the scopes from given scopesStrings
generateScopeStrings({required List<Oauth2Scopes> scopes}) List<String>
Generares a scope strings from desired scopes