All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.serviceconsumermanagement.v1.model.AuthRequirement.html Maven / Gradle / Ivy







AuthRequirement (Service Consumer Management API v1-rev20210525-1.31.0)












com.google.api.services.serviceconsumermanagement.v1.model

Class AuthRequirement

    • Constructor Detail

      • AuthRequirement

        public AuthRequirement()
    • Method Detail

      • getAudiences

        public String getAudiences()
        NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf- oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library- example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com
        Returns:
        value or null for none
      • setAudiences

        public AuthRequirement setAudiences(String audiences)
        NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf- oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library- example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com
        Parameters:
        audiences - audiences or null for none
      • getProviderId

        public String getProviderId()
        id from authentication provider. Example: provider_id: bookstore_auth
        Returns:
        value or null for none
      • setProviderId

        public AuthRequirement setProviderId(String providerId)
        id from authentication provider. Example: provider_id: bookstore_auth
        Parameters:
        providerId - providerId or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy