@grow-codes/infisical - v0.1.2
    Preparing search index...

    Class IdentityLoginAuthAbstract

    Base of the login-based machine identity methods: login, renew, revoke and automatic refresh (renew at 80 % of the lifetime, re-login when the max TTL is reached or renewal fails).

    Hierarchy (View Summary)

    Implements

    Index
    kind: string

    Method name (token, universal-auth, kubernetes-auth, aws-auth).

    loginPath: string

    Login path, e.g. /api/v1/auth/universal-auth/login.

    refreshable: true

    Whether a rejected token can be replaced by logging in again.

    tokenKind: TokenKind = "identity"

    Principal kind of the tokens this method produces.

    • get context(): AuthContext

      The bound client context (ConfigError before the method is passed to a client).

      Returns AuthContext

    • Releases the method; revokes a login token when revoke is true.

      Parameters

      • revoke: boolean = false

      Returns Promise<void>

    • Returns a string representation of an object.

      Returns string