Skip to content

easyextensionsauthorizationservices ITokenProvider

BigMakCode edited this page Aug 5, 2024 · 1 revision

ITokenProvider Public interface

Description

Provides token creation with claims.

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph EasyExtensions.Authorization.Services
  EasyExtensions.Authorization.Services.ITokenProvider[[ITokenProvider]]
  class EasyExtensions.Authorization.Services.ITokenProvider interfaceStyle;
  end
Loading

Members

Methods

Public methods

Returns Name
string CreateToken(...)

Details

Summary

Provides token creation with claims.

Methods

CreateToken [1/2]

public string CreateToken(Func<ClaimBuilder, ClaimBuilder> claimBuilder)
Arguments
Type Name Description
Func<ClaimBuilder, ClaimBuilder> claimBuilder

CreateToken [2/2]

public string CreateToken(IClaimProvider claimProvider)
Arguments
Type Name Description
IClaimProvider claimProvider Claim provider.
Summary

Creates a token with claims.

Returns

Token.

Generated with ModularDoc

Clone this wiki locally