Home

Auth Manager Service (1.0)

Download OpenAPI specification:Download

License: Mosip

Rest Endpoints for operations related to auth

authmanager

Operation related to Authentication and Authorization

This API will validate username

This API will validate username based on userid

path Parameters
userid
required
string
appid
required
string

Responses

API to get list of users for a module with salt

API to get list of users for a module with salt

path Parameters
appid
required
string
Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (UserDetailsRequestDto)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}

This API will get username

This API will get username based on mobileno

path Parameters
mobilenumber
required
string
appid
required
string

Responses

This API will fetch all users based on appId and roles

This API will fetch all users based on appId and roles for role bases search only pagination will work,Without role can be searched by all,email,firstName,lastName and userName

path Parameters
appid
required
string
query Parameters
roleName
string
pageStart
integer <int32>
Default: 0
pageFetch
integer <int32>
Default: 0
email
string
firstName
string
lastName
string
userName
string
search
string

Responses

API to get list of users for a module

API to get list of users for a module

path Parameters
appid
required
string
Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (UserDetailsRequestDto)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}

This API will get userdetails

This API will get userdetails based on mobileno

path Parameters
mobilenumber
required
string
appid
required
string

Responses

Gets the user detail based on user id

Gets the user detail based on user id

path Parameters
appid
required
string
Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (UserDetailsRequestDto)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}

This API will add password to the user Deprecated

This API will add password to the user

Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (UserPasswordRequestDto)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}

API to get username

API to get username from userid

path Parameters
appid
required
string
userid
required
string

Responses

API to get all roles

API to get all roles

path Parameters
appid
required
string

Responses

This API will get user role

This API will get user role useing appid and userid

path Parameters
appId
required
string
userId
required
string

Responses

API to get rid

API to get rid from userid

path Parameters
appid
required
string
userid
required
string

Responses

This API will reset the password of the particular user

This API will reset the password of the particular user

path Parameters
appid
required
string
Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (PasswordDto)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}

Logout a user

ends users session

cookie Parameters
Authorization
string

Responses

Login a user Deprecated

internal api for auth code flow

path Parameters
redirectURI
required
string
cookie Parameters
state
required
string

Responses

Login a user Deprecated

internal api for auth code flow

path Parameters
redirectURI
required
string
query Parameters
state
required
string
session_state
required
string
code
required
string

Responses

This API will fetch IndividualId based on appId and userId

This API will fetch IndividualId based on appId and userId

path Parameters
appid
required
string
userid
required
string

Responses

This API will change the password of the particular user

This API will change the password of the particular user

path Parameters
appid
required
string
Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (PasswordDto)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}

API to validate token

API to validate token

Responses

API to retry token when access token expires

API to retry token when access token expires

path Parameters
appid
required
string
Request Body schema: application/json
clientID
required
string
clientSecret
required
string

Responses

Request samples

Content type
application/json
{
  • "clientID": "string",
  • "clientSecret": "string"
}

API to invalidate token when both refresh and auth token expires

API to invalidate token when both refresh and auth token expires

Responses

Internal API used by syncdata delegate API to refreah token

Internal API used by syncdata delegate API to refresh token

path Parameters
appid
required
string
Request Body schema: application/json
clientID
required
string
clientSecret
required
string

Responses

Request samples

Content type
application/json
{
  • "clientID": "string",
  • "clientSecret": "string"
}

API to validate token

API to validate token

Responses

Authenticate using username and password Deprecated

Authenticate using username and password

Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (LoginUser)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}

API to validate OTP with user Id

API to validate OTP with user Id

Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (UserOtp)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}

Authenticate using OTP

Authenticate using OTP

Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (OtpUser)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}

Internal API used by syncdata delegate API to authenticate using otp

Internal API used by syncdata delegate API to authenticate using otp

Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (UserOtp)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}

Internal API used by syncdata delegate API to authenticate

Internal API used by syncdata delegate API to authenticate

Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (LoginUserWithClientId)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}

API to authenticate using clientId and secretKey

API to authenticate using clientId and secretKey

Request Body schema: application/json
id
string
version
string
requesttime
string <date-time>
metadata
object
required
object (ClientSecret)

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "version": "string",
  • "requesttime": "2019-08-24T14:15:22Z",
  • "metadata": { },
  • "request": {
    }
}
Home