public final class AuthSchemeUtils extends Object
Modifier and Type | Method and Description |
---|---|
static EndpointAuthScheme |
chooseAuthScheme(List<EndpointAuthScheme> authSchemes)
Per the spec, the auth schemes list is ordered by preference, so we simply iterate over the list until we find an
auth scheme we recognize.
|
static List<EndpointAuthScheme> |
createAuthSchemes(Value authSchemesValue) |
static void |
setSigningParams(ExecutionAttributes executionAttributes,
EndpointAuthScheme authScheme) |
public static EndpointAuthScheme chooseAuthScheme(List<EndpointAuthScheme> authSchemes)
public static List<EndpointAuthScheme> createAuthSchemes(Value authSchemesValue)
public static void setSigningParams(ExecutionAttributes executionAttributes, EndpointAuthScheme authScheme)
Copyright © 2023. All rights reserved.