buildScope
fun buildScope(requestOptions: WalletService.RequestOptions, metadata: IssuerMetadata): String?(source)
Deprecated
Extract supported credential format, take scope from there
Replace with
selectSupportedCredentialFormat(requestOptions, metadata)?.scope
Content copied to clipboard
Build scope
value for use in OAuth2Client.createAuthRequest and OAuth2Client.createTokenRequestParameters.