Rajska v0.0.1 Rajska.Schema View Source
Concatenates Rajska middlewares with Absinthe middlewares and validates Query Authorization configuration.
Link to this section Summary
Link to this section Functions
Link to this function
add_field_authorization(middleware, field, object)
View Source
add_field_authorization(middleware, field, object)
View Source
add_field_authorization(
[Absinthe.Type.Middleware.spec(), ...],
Absinthe.Type.Field.t(),
Absinthe.Type.Object.t()
) :: [Absinthe.Type.Middleware.spec(), ...]
add_field_authorization( [Absinthe.Type.Middleware.spec(), ...], Absinthe.Type.Field.t(), Absinthe.Type.Object.t() ) :: [Absinthe.Type.Middleware.spec(), ...]
Link to this function
add_middlewares(middleware, field, object, authorization)
View Source
add_middlewares(middleware, field, object, authorization)
View Source
add_middlewares(
[Absinthe.Type.Middleware.spec(), ...],
Absinthe.Type.Field.t(),
Absinthe.Type.Object.t(),
module()
) :: [Absinthe.Type.Middleware.spec(), ...]
add_middlewares( [Absinthe.Type.Middleware.spec(), ...], Absinthe.Type.Field.t(), Absinthe.Type.Object.t(), module() ) :: [Absinthe.Type.Middleware.spec(), ...]
Link to this function
add_object_authorization(middleware)
View Source
add_object_authorization(middleware)
View Source
add_object_authorization([Absinthe.Type.Middleware.spec(), ...]) :: [
Absinthe.Type.Middleware.spec(),
...
]
add_object_authorization([Absinthe.Type.Middleware.spec(), ...]) :: [ Absinthe.Type.Middleware.spec(), ... ]
Link to this function
add_query_authorization(middleware, field, authorization)
View Source
add_query_authorization(middleware, field, authorization)
View Source
add_query_authorization(
[Absinthe.Type.Middleware.spec(), ...],
Absinthe.Type.Field.t(),
module()
) :: [Absinthe.Type.Middleware.spec(), ...]
add_query_authorization( [Absinthe.Type.Middleware.spec(), ...], Absinthe.Type.Field.t(), module() ) :: [Absinthe.Type.Middleware.spec(), ...]
Link to this function
validate_query_auth_config!(config, authorization)
View Source
validate_query_auth_config!(config, authorization)
View Source
validate_query_auth_config!(
[permit: atom(), scoped: false | :source | {:source | module(), atom()}],
module()
) :: :ok | Exception.t()
validate_query_auth_config!( [permit: atom(), scoped: false | :source | {:source | module(), atom()}], module() ) :: :ok | Exception.t()