Skip to main content

List all loginData of one user

GET 

/login/user/:id/loginData

Gets the list of all login data of a single user specified by id.

Needs admin permission for any user other than the one sending the request (equivalen to self query).

Request

Path Parameters

    id uuidrequired

    The uuid string of the existing user to get the loginData for or 'self'

Responses

If user exixts, login data for the user with the specified id

Schema
  • Array [
  • id stringrequired

    The unique ID of this login data

    state stringrequired

    Possible values: [WAITING_FOR_REGISTER, VALID, BLOCKED]

    The state this authentication is in.

    Rules:

    • Only UserLoginData in state {@link LoginState.VALID} may be used for login and retrieving an access token.
    • Only UserLoginData in state {@link LoginState.WAITING_FOR_REGISTER} may be used for registration or linking.
    • UserLoginData in state {@link LoginState.BLOCKED} cannot be used for anything
    expires date-timenullablerequired

    If not null, this authentication should be considered invalid on any date+time AFTER this. This is to ensure created UserLoginData, that are not used for registration or linking in time, are not kept forever.

    If null, the authentication should not expire by date.

  • ]
Loading...