SignInSimpleProps
Datalayer Core / SignInSimpleProps
Interface: SignInSimpleProps
Defined in: src/views/iam/SignInSimple.tsx:37
Properties
description?
optionaldescription?:string
Defined in: src/views/iam/SignInSimple.tsx:61
Optional subtitle / description.
leadingIcon?
optionalleadingIcon?:ReactNode
Defined in: src/views/iam/SignInSimple.tsx:66
Leading icon element rendered next to the title.
Defaults to <TelescopeIcon size={24} />.
loginUrl?
optionalloginUrl?:string
Defined in: src/views/iam/SignInSimple.tsx:53
Login endpoint. Defaults to /api/iam/v1/login.
The endpoint must accept POST { handle, password } and return
{ success: boolean; token?: string; message?: string }.
onApiKeySignIn?
optionalonApiKeySignIn?: (apiKey) =>void
Defined in: src/views/iam/SignInSimple.tsx:47
Called when the user authenticates with an API key. If not provided the "Sign in with API Key" button is hidden.
Parameters
apiKey
string
Returns
void
onSignIn
onSignIn: (
token,handle) =>void
Defined in: src/views/iam/SignInSimple.tsx:42
Called after a successful login with the JWT and the user handle. Typically used to store credentials in a Zustand / context store.
Parameters
token
string
handle
string
Returns
void
title?
optionaltitle?:string
Defined in: src/views/iam/SignInSimple.tsx:57
Optional heading text. Defaults to "Datalayer OTEL".