Interface IOpenIdVerifier
Verifies a Matrix OpenID token with the homeserver that issued it.
Namespace: Uniform.LiveKit.Authorization
Assembly: Uniform.LiveKit.Authorization.dll
Syntax
public interface IOpenIdVerifier
Methods
| Edit this page View SourceVerifyAsync(OpenIdToken, CancellationToken)
Return the user the homeserver says token is of, or null when it refuses the token; throw when the homeserver cannot be asked.
Declaration
Task<string?> VerifyAsync(OpenIdToken token, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| OpenIdToken | token | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<string> |