ExDoppler.TokenInfo (ExDoppler v1.0.1)

View Source

Module describing a Doppler Me

Fields

  • slug - Unique identifier for this token (e.g "00000000-0000-0000-0000-000000000000")
  • name - If given, a human-readable name for this token (e.g "my-auth-token")
  • created_at - DateTime creation for this token (e.g ~U[2025-04-30 10:05:50.040Z])
  • last_seen_at - DateTime for last use (e.g ~U[2025-04-30 10:05:50.040Z])
  • type - Token Type (e.g "personal")
  • token_preview - Used when referring to this token (e.g dp.pt....ABCdEF)
  • workplace - Relevant ExDoppler.Workplace.

๐Ÿ“– Resources

Summary

Functions

Creates a TokenInfo from a map

Functions

build(token_info)

Creates a TokenInfo from a map

๐Ÿท๏ธ Params

  • token_info: Map of fields to turn into a TokenInfo

โคต๏ธ Returns

โœ… On Success

  %ExDoppler.TokenInfo{...}

โŒ On Failure

  raise Error