Class IamPermissionChecker


  • public class IamPermissionChecker
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      IamPermissionChecker​(org.curioswitch.curiostack.gcloud.iam.ServiceAccountsClient client)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<java.lang.Boolean> test​(java.lang.String accessToken, java.lang.String serviceAccount, java.util.List<java.lang.String> permissionsToTest)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IamPermissionChecker

        @Inject
        public IamPermissionChecker​(org.curioswitch.curiostack.gcloud.iam.ServiceAccountsClient client)
    • Method Detail

      • test

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> test​(java.lang.String accessToken,
                                                                              java.lang.String serviceAccount,
                                                                              java.util.List<java.lang.String> permissionsToTest)