Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OAuth2AuthorizationURL

TypeSafe DataObject for passing needed parameters for {@link OAuth2Auth#authorizeURL}

Hierarchy

  • OAuth2AuthorizationURL

Index

Constructors

constructor

Methods

addScope

  • Set the scopes

    Parameters

    • scopes: string

    Returns OAuth2AuthorizationURL

getAdditionalParameters

  • getAdditionalParameters(): {}
  • Set the additional parameters

    Returns {}

    • [key: string]: string

getRedirectUri

  • getRedirectUri(): string
  • Set the redirect URI

    Returns string

getScopes

  • getScopes(): string[]
  • Set the scopes

    Returns string[]

getState

  • getState(): string
  • Set the state

    Returns string

setAdditionalParameters

  • Set the additional parameters

    Parameters

    • additionalParameters: {}
      • [key: string]: string

    Returns OAuth2AuthorizationURL

setRedirectUri

  • Set the redirect URI

    Parameters

    • redirectUri: string

    Returns OAuth2AuthorizationURL

setScopes

  • Set the scopes

    Parameters

    • scopes: string[]

    Returns OAuth2AuthorizationURL

setState

  • Set the state

    Parameters

    • state: string

    Returns OAuth2AuthorizationURL

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc