AshMultiAccount.Calculations.LinkedAccountSessions (AshMultiAccount v0.1.1)

Copy Markdown View Source

Calculation that resolves linked account records for a user.

Resolves the domain from the LinkedAccount resource configuration rather than hardcoding a domain reference. Called with a session_token argument that scopes the query; each user record's :id is used as the primary user ID.

Summary

Functions

describe(opts)

Callback implementation for Ash.Resource.Calculation.describe/1.

has_calculate?()

has_expression?()

Callback implementation for Ash.Resource.Calculation.has_expression?/0.

init(opts)

Callback implementation for Ash.Resource.Calculation.init/1.

load(query, opts, context)

Callback implementation for Ash.Resource.Calculation.load/3.

strict_loads?()

Callback implementation for Ash.Resource.Calculation.strict_loads?/0.