DeviceCodeResponse: {
    deviceCode: string;
    expiration: number;
    interval: number;
    loginUrl: string;
    openIdWellKnownUrl: string;
    realm: string;
    userCode: string;
}

Type declaration

  • deviceCode: string

    A long string used to verify the session between the client and the authorization server. The client uses this parameter to request the access token from the authorization server

  • expiration: number

    The number of seconds before the device_code and user_code expire

  • interval: number

    The number of seconds the client should wait between polling requests

  • loginUrl: string

    The URI the user should go to with the user_code in order to sign in

  • openIdWellKnownUrl: string

    OpenID Well Known url for current account

  • realm: string

    The account tenant

  • userCode: string

    A short string shown to the user that's used to identify the session on a secondary device