C# Class Swagger.ObjectModel.Builders.ApiKeySecuritySchemeBuilder

The api key security scheme builder.
Inheritance: SecuritySchemeBuilder
Afficher le fichier Open project: khellang/Nancy.Swagger

Méthodes publiques

Méthode Description
Build ( ) : SecurityScheme

The build.

Description ( string description ) : ApiKeySecuritySchemeBuilder

A short description for security scheme.

IsInHeader ( ) : ApiKeySecuritySchemeBuilder

Declare that the API key is located in a header

IsInQuery ( ) : ApiKeySecuritySchemeBuilder

Declare that the API key is located in the query

Name ( string name ) : ApiKeySecuritySchemeBuilder

The name.

Private Methods

Méthode Description
In ( ApiKeyLocations securityIn ) : ApiKeySecuritySchemeBuilder

The in.

Method Details

Build() public méthode

The build.
///
public Build ( ) : SecurityScheme
Résultat SecurityScheme

Description() public méthode

A short description for security scheme.
public Description ( string description ) : ApiKeySecuritySchemeBuilder
description string /// The description. ///
Résultat ApiKeySecuritySchemeBuilder

IsInHeader() public méthode

Declare that the API key is located in a header
public IsInHeader ( ) : ApiKeySecuritySchemeBuilder
Résultat ApiKeySecuritySchemeBuilder

IsInQuery() public méthode

Declare that the API key is located in the query
public IsInQuery ( ) : ApiKeySecuritySchemeBuilder
Résultat ApiKeySecuritySchemeBuilder

Name() public méthode

The name.
public Name ( string name ) : ApiKeySecuritySchemeBuilder
name string /// The name. ///
Résultat ApiKeySecuritySchemeBuilder