@vicinae/api
    Preparing search index...

    Class PKCEClient

    Index

    Constructors

    Properties

    description?: string
    providerIcon?: Image.ImageLike
    providerId?: string
    providerName: string
    redirectMethod: OauthRedirectMethod

    Methods

    • Returns
          | "https://raycast.com/redirect?packageName=Extension"
          | "raycast://oauth?package_name=Extension"
          | "com.raycast:/oauth?package_name=Extension"

    • Retrieves the stored OAuth.TokenSet for the client. You can use this to initially check whether the authorization flow should be initiated or the user is already logged in and you might have to refresh the access token.

      Returns Promise<undefined | TokenSet>

      A promise that resolves when the token set has been retrieved.