AuthType Class

Summary

Contains the valid auth strategies for NpmAddUser.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.AddUser
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["AuthType"] class Type type-node

Syntax

public sealed class AuthType : Enum

Fields

Name Constant Value Summary
Default 0
Default Authentication.
static
Legacy 1
Legacy Authentication.
static
OAuth 4
OAuth Authentication.
static
Saml 3
SAML Authentication.
static
SSO 2
SSO Authentication.
static
value__

Extension Methods

Name Value Summary
Dump<AuthType>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AuthType>(AuthType[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AuthType>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AuthType>(string) void
Requires the Cake.Issues addin
ThrowIfNull<AuthType>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<AuthType>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin