matrix-js-sdk
    Preparing search index...

    Interface DeviceAuthorizationResponse

    Response from the OAuth2 device authorization endpoint. As specified in https://datatracker.ietf.org/doc/html/rfc8628#section-3.2

    interface DeviceAuthorizationResponse {
        device_code: string;
        expires_in: number;
        interval?: number;
        user_code: string;
        verification_uri: string;
        verification_uri_complete?: string;
    }
    Index
    device_code: string

    The device verification code.

    expires_in: number

    The lifetime in seconds of the "device_code" and "user_code".

    interval?: number

    The minimum amount of time in seconds that the client SHOULD wait between polling requests to the token endpoint. If no value is provided, clients MUST use 5 as the default.

    user_code: string

    The end-user verification code.

    verification_uri: string

    The end-user verification URI on the authorization server. The URI should be short and easy to remember as end users will be asked to manually type it into their user agent.

    verification_uri_complete?: string

    The URI which doesn’t require the user to manually type the user_code, designed for non-textual transmission.