Documentation
¶
Overview ¶
Package phone is the plugin shape: it borrows a core table under its own alias and contributes a join plus bindings to a composite user.
Index ¶
Constants ¶
View Source
const TableAliasIdentity = "phi"
TableAliasIdentity is private to this plugin. The core uses "i"; the plugin must not, or a composite that joins auth_identity twice is ambiguous.
Variables ¶
View Source
var ( IdentityUserID = sqlb.Col[string](TableIdentity, authlite.ColIdentUserID) IdentityKind = sqlb.Col[authlite.IdentifierKind](TableIdentity, authlite.ColIdentKind) IdentityValue = sqlb.Col[string](TableIdentity, authlite.ColIdentValue) )
The core's identity columns under this plugin's alias, so the plugin can join to them without the core knowing the plugin exists.
View Source
var TableIdentity = sqlb.Table{Name: authlite.TableNameIdentity, Alias: TableAliasIdentity}
TableIdentity is the core's auth_identity under the plugin's alias.
Functions ¶
func UserBindings ¶
UserBindings binds the plugin's columns to dst.
Types ¶
Click to show internal directories.
Click to hide internal directories.