[Modify] Polish it
This commit is contained in:
parent
88b182083c
commit
2befe83d7d
@ -2,13 +2,13 @@
|
|||||||
/*
|
/*
|
||||||
* AuthenticationSchemes.cs
|
* AuthenticationSchemes.cs
|
||||||
*
|
*
|
||||||
* This code is derived from System.Net.AuthenticationSchemes.cs of Mono
|
* This code is derived from AuthenticationSchemes.cs (System.Net) of Mono
|
||||||
* (http://www.mono-project.com).
|
* (http://www.mono-project.com).
|
||||||
*
|
*
|
||||||
* The MIT License
|
* The MIT License
|
||||||
*
|
*
|
||||||
* Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
|
* Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
|
||||||
* Copyright (c) 2012-2014 sta.blockhead
|
* Copyright (c) 2012-2016 sta.blockhead
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
@ -42,25 +42,25 @@ using System;
|
|||||||
namespace WebSocketSharp.Net
|
namespace WebSocketSharp.Net
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains the values of the schemes for authentication.
|
/// Specifies the scheme for authentication.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Flags]
|
[Flags]
|
||||||
public enum AuthenticationSchemes
|
public enum AuthenticationSchemes
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Indicates that no authentication is allowed.
|
/// No authentication is allowed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
None,
|
None,
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Indicates digest authentication.
|
/// Specifies digest authentication.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Digest = 1,
|
Digest = 1,
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Indicates basic authentication.
|
/// Specifies basic authentication.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Basic = 8,
|
Basic = 8,
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Indicates anonymous authentication.
|
/// Specifies anonymous authentication.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Anonymous = 0x8000
|
Anonymous = 0x8000
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user