ApiResourceBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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. |