Lightning.Credentials.ResolvedCredential (Lightning v2.14.5-pre1)

View Source

Represents a credential that has been resolved and is ready for worker consumption.

Contains the final merged body (for OAuth credentials) and maintains reference to the original credential for scrubbing setup.

Summary

Functions

Creates a ResolvedCredential from a Credential, handling OAuth merging and empty value removal.

Types

t()

@type t() :: %Lightning.Credentials.ResolvedCredential{
  body: map(),
  credential: Lightning.Credentials.Credential.t()
}

Functions

from(credential)

Creates a ResolvedCredential from a Credential, handling OAuth merging and empty value removal.