public abstract class Utils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
computeEffectiveScopeOrFail(Set<String> requestedScopes,
Set<String> clientScopes,
Set<String> configuredScopes) |
static String |
extractCredentialsFromAuthorizationHeader(String authorization,
String scheme,
String encoding) |
static String |
generateUniqueId() |
static String |
generateUniqueId(String salt) |
static org.mule.runtime.http.api.server.async.ResponseStatusCallback |
getResponseStatusCallback() |
static Set<Constants.ProviderGrantType> |
parseProviderGrantTypes(String providerGrantTypes) |
static Charset |
resolveMessageEncoding(RequestData requestData) |
static String |
stringifyScopes(Set<String> scopes) |
static Set<String> |
tokenize(String scope) |
static Set<String> |
tokenize(String scope,
String delimiter) |
static String |
urlDecode(String encoded) |
public static String generateUniqueId()
public static String extractCredentialsFromAuthorizationHeader(String authorization, String scheme, String encoding)
public static Set<String> computeEffectiveScopeOrFail(Set<String> requestedScopes, Set<String> clientScopes, Set<String> configuredScopes) throws RequestProcessingException
RequestProcessingExceptionpublic static Set<Constants.ProviderGrantType> parseProviderGrantTypes(String providerGrantTypes)
public static Charset resolveMessageEncoding(RequestData requestData)
public static org.mule.runtime.http.api.server.async.ResponseStatusCallback getResponseStatusCallback()
Copyright © 2023 MuleSoft, Inc.. All rights reserved.