CasClient client interface

Hierarchy

  • Client

Properties

authentication: ((casServerPrefix, service) => void)

Type declaration

    • (casServerPrefix, service): void
    • authentication

      Parameters

      • casServerPrefix: string

        cas sever 登录接口url

      • service: string

        当前请求资源url

      Returns void

generalToken: ((tenantId) => string)

Type declaration

    • (tenantId): string
    • get general token

      Parameters

      • tenantId: string

        tenant id

      Returns string

      string

logout: ((casServerPrefix, service) => void)

Type declaration

    • (casServerPrefix, service): void
    • logout

      Parameters

      • casServerPrefix: string

        string

      • service: string

        url

      Returns void

redirect: ((service) => void)

Type declaration

    • (service): void
    • Page redirect to service

      Parameters

      • service: string

        redirect url

      Returns void

ticketValidation: ((casServerPrefix, service) => void)

Type declaration

    • (casServerPrefix, service): void
    • check ticket interface

      Parameters

      • casServerPrefix: string

        string cas server 验证ticket接口url

      • service: string

        当前请求资源url(带ticket参数)

      Returns void