Skip to content

Create refresh token #36

@mohammadsheikhian

Description

@mohammadsheikhian

CREATE /apiv1/refreshtokens

  • AS a Client I can CREATE new access token using by refresh token. So I use refresh token for exchange access token.

User story

Request :

  • The request to CAS with follow parameters:
Parameter Type Example
clientId string 781215968670
secret string oj5qITnaVreCDFrXYATj9BtO
refreshToken string 1/9dlcU9rHjUM..reoINNButDPg

Response:

{
  "access_token": "ya29.GlvqBS-04..BkHD9A-8Y2Gp1WB197aI4", 
  "token_type": "Bearer", 
  "expires_in": 3600, 
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    400Bad Request401Unauthorized605We Don't Recognize This Applicationdraftrest story

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions