ApiResourceBuilder Class

Definition

A builder for API resources

public ref class ApiResourceBuilder
public class ApiResourceBuilder
type ApiResourceBuilder = class
Public Class ApiResourceBuilder
Inheritance
ApiResourceBuilder

Constructors

ApiResourceBuilder()

Initializes a new instance of ApiResourceBuilder.

ApiResourceBuilder(ApiResource)

Initializes a new instance of ApiResourceBuilder.

Methods

AllowAllClients()

Configures the API resource to allow all clients to access it.

ApiResource(String)

Creates a new builder for an externally registered API.

Build()

Builds the API resource.

IdentityServerJwt(String)

Creates a new builder for an API that coexists with an authorization server.

ReplaceScopes(String[])

Replaces the scopes defined for the application with a new set of scopes.

WithApplicationProfile(String)

Sets the application profile for the resource.

WithScopes(String[])

Adds additional scopes to the API resource.

Applies to