Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.43 KB

None.md

File metadata and controls

53 lines (37 loc) · 1.43 KB

Function: None()

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


None(): ClientAuth

none (public client) uses the HTTP request body to send only client_id as application/x-www-form-urlencoded body parameter.

Returns

ClientAuth

Examples

Usage with a Configuration obtained through discovery

let server!: URL
let clientId!: string
let clientMetadata!: Partial<client.ClientMetadata> | string | undefined

let config = await client.discovery(
  server,
  clientId,
  clientMetadata,
  client.None(),
)

Usage with a Configuration instance

let server!: client.ServerMetadata
let clientId!: string
let clientMetadata!: Partial<client.ClientMetadata> | string | undefined

let config = new client.Configuration(
  server,
  clientId,
  clientMetadata,
  client.None(),
)

See