Class QueryParameterResolver
- Namespace
- Keycloak.AuthServices.Authorization
- Assembly
- Keycloak.AuthServices.Authorization.dll
Resolves parameters from query string values.
public sealed class QueryParameterResolver : IParameterResolver
- Inheritance
-
QueryParameterResolver
- Implements
- Inherited Members
Methods
Resolve(string, HttpContext, IServiceProvider)
Resolves the value of a named parameter from the current request context.
public string? Resolve(string parameter, HttpContext httpContext, IServiceProvider serviceProvider)
Parameters
parameterstringThe parameter name extracted from the resource template (e.g., "workspaceId" from "{workspaceId}").
httpContextHttpContextThe current HTTP context.
serviceProviderIServiceProviderThe request-scoped service provider.
Returns
- string
The resolved parameter value, or
nullif the parameter could not be resolved.