Interface TokenCredentialTrait<T extends TokenCredentialTrait<T>>

    • Method Detail

      • credential

        T credential​(TokenCredential credential)
        Sets the TokenCredential used to authorize requests sent to the service. Refer to the Azure SDK for Java identity and authentication documentation for more details on proper usage of the TokenCredential type.
        Parameters:
        credential - TokenCredential used to authorize requests sent to the service.
        Returns:
        Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of operations.