createAuthorization method

ResponseFuture<CreateAuthorizationResponse> createAuthorization(
  1. CreateAuthorizationRequest request, {
  2. CallOptions? options,
})

Create Authorization

Deprecated: please move to the corresponding endpoint under authorization service v2. This endpoint will be removed with the next major version of ZITADEL.

CreateAuthorization creates a new authorization for a user in an owned or granted project.

Required permissions:

  • "user.grant.write"

Implementation

$grpc.ResponseFuture<$0.CreateAuthorizationResponse> createAuthorization(
  $0.CreateAuthorizationRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$createAuthorization, request, options: options);
}