MCPcopy Create free account
hub / github.com/auth0/auth0-cli / MakeSessionTransferView

Function MakeSessionTransferView

internal/display/apps_session_transfer.go:56–64  ·  view source on GitHub ↗
(client *management.Client)

Source from the content-addressed store, hash-verified

54}
55
56func MakeSessionTransferView(client *management.Client) *SessionTransferView {
57 return &SessionTransferView{
58 ID: client.GetClientID(),
59 CanCreateTOKEN: boolean(client.SessionTransfer.GetCanCreateSessionTransferToken()),
60 AllowedMethods: stringSliceToCommaSeparatedString(client.SessionTransfer.GetAllowedAuthenticationMethods()),
61 DeviceBinding: client.SessionTransfer.GetEnforceDeviceBinding(),
62 raw: client.SessionTransfer,
63 }
64}

Callers 2

SessionTransferShowMethod · 0.85
SessionTransferUpdateMethod · 0.85

Calls 2

booleanFunction · 0.85

Tested by

no test coverage detected