Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Readonly AppHost

AppHost: string = ...

Readonly AppID

AppID: string = ...

Readonly AppNotifyPath

AppNotifyPath: string = "/sso/notify"

EnableLog

EnableLog: boolean = false

Readonly ParameterName

ParameterName: ISSOParameterName = ...

Readonly Secret

Secret: string

Readonly ServerHost

ServerHost: string = ...

Readonly ServerLoginPath

ServerLoginPath: string = "/login"

Readonly ServerSSOPath

ServerSSOPath: string = "/sso"

Readonly TokenName

TokenName: string = "KAVEN-UNIFORM-SSO-TOKEN"

Accessors

AppNotifyURL

  • get AppNotifyURL(): string
  • Returns string

ServerLoginURL

  • get ServerLoginURL(): string
  • Returns string

ServerSSOURL

  • get ServerSSOURL(): string
  • Returns string

Methods

GetDataFromSSOServer

  • GetDataFromSSOServer<T>(url: string): Promise<IHTTPResponse<T>>
  • Type parameters

    • T = any

    Parameters

    • url: string

    Returns Promise<IHTTPResponse<T>>

GetRedirectToServerURL

  • GetRedirectToServerURL(originalUrl: string, sessionID?: string): string
  • Parameters

    • originalUrl: string
    • Optional sessionID: string

    Returns string

Logout

  • Logout(client: ISSOClient, notifyServer?: boolean): Promise<void>
  • note

    This method will not throw an exception

    Parameters

    Returns Promise<void>

MakeRedirectURL

  • MakeRedirectURL(returnTo: string, sessionID?: string): string
  • Parameters

    • returnTo: string
    • Optional sessionID: string

    Returns string

MakeSSOURL

  • Parameters

    Returns string

RemoveSSOParametersFromURL

  • RemoveSSOParametersFromURL(url: string, ...others: string[]): string
  • Parameters

    • url: string
    • Rest ...others: string[]

    Returns string

Verify

  • Parameters

    • originalUrl: string

    Returns undefined | ISSOVerifyResult

VerifyClient

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Class
  • Constructor
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Enumeration
  • Inherited property

Generated using TypeDoc