Class OpenFgaProperties

java.lang.Object
dev.openfga.autoconfigure.OpenFgaProperties
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

@ConfigurationProperties(prefix="openfga") public class OpenFgaProperties extends Object implements org.springframework.beans.factory.InitializingBean
Properties used to configure an OpenFgaClient
  • Constructor Details

    • OpenFgaProperties

      public OpenFgaProperties()
  • Method Details

    • getApiUrl

      public String getApiUrl()
    • setApiUrl

      public void setApiUrl(String apiUrl)
    • getStoreId

      public String getStoreId()
    • setStoreId

      public void setStoreId(String storeId)
    • getAuthorizationModelId

      public String getAuthorizationModelId()
    • setAuthorizationModelId

      public void setAuthorizationModelId(String authorizationModelId)
    • getCredentials

      public OpenFgaProperties.Credentials getCredentials()
    • setCredentials

      public void setCredentials(OpenFgaProperties.Credentials credentials)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • validate

      public void validate()