Class ManagedIdentitySettings


  • public final class ManagedIdentitySettings
    extends Object
    Managed identity settings for upstream.
    • Constructor Detail

      • ManagedIdentitySettings

        public ManagedIdentitySettings()
    • Method Detail

      • resource

        public String resource()
        Get the resource property: The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
        Returns:
        the resource value.
      • withResource

        public ManagedIdentitySettings withResource​(String resource)
        Set the resource property: The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
        Parameters:
        resource - the resource value to set.
        Returns:
        the ManagedIdentitySettings object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.