Package 

Class PermissionsServiceGrpcKt.PermissionsServiceCoroutineImplBase

    • Constructor Detail

      • PermissionsServiceGrpcKt.PermissionsServiceCoroutineImplBase

        PermissionsServiceGrpcKt.PermissionsServiceCoroutineImplBase(CoroutineContext coroutineContext)
    • Method Detail

      • readRelationships

         Flow<PermissionService.ReadRelationshipsResponse> readRelationships(PermissionService.ReadRelationshipsRequest request)

        Returns a Flow of responses to an RPC for authzed.api.v1.PermissionsService.ReadRelationships.

        If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • writeRelationships

         PermissionService.WriteRelationshipsResponse writeRelationships(PermissionService.WriteRelationshipsRequest request)

        Returns the response to an RPC for authzed.api.v1.PermissionsService.WriteRelationships.

        If this method fails with a StatusException, the RPC will fail with the corresponding Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • deleteRelationships

         PermissionService.DeleteRelationshipsResponse deleteRelationships(PermissionService.DeleteRelationshipsRequest request)

        Returns the response to an RPC for authzed.api.v1.PermissionsService.DeleteRelationships.

        If this method fails with a StatusException, the RPC will fail with the corresponding Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • checkPermission

         PermissionService.CheckPermissionResponse checkPermission(PermissionService.CheckPermissionRequest request)

        Returns the response to an RPC for authzed.api.v1.PermissionsService.CheckPermission.

        If this method fails with a StatusException, the RPC will fail with the corresponding Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • expandPermissionTree

         PermissionService.ExpandPermissionTreeResponse expandPermissionTree(PermissionService.ExpandPermissionTreeRequest request)

        Returns the response to an RPC for authzed.api.v1.PermissionsService.ExpandPermissionTree.

        If this method fails with a StatusException, the RPC will fail with the corresponding Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • lookupResources

         Flow<PermissionService.LookupResourcesResponse> lookupResources(PermissionService.LookupResourcesRequest request)

        Returns a Flow of responses to an RPC for authzed.api.v1.PermissionsService.LookupResources.

        If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • lookupSubjects

         Flow<PermissionService.LookupSubjectsResponse> lookupSubjects(PermissionService.LookupSubjectsRequest request)

        Returns a Flow of responses to an RPC for authzed.api.v1.PermissionsService.LookupSubjects.

        If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • bindService

         final ServerServiceDefinition bindService()