Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​IdentityModel.​Tokens.​CompressionProviderFactory

Assembly: Microsoft.IdentityModel.Tokens

Inheritance: object → CompressionProviderFactory

Compression provider factory for compression and decompression.

Properties

Default
Returns the default <see cref="T:Microsoft.IdentityModel.Tokens.CompressionProviderFactory" /> instance.
CustomCompressionProvider
Extensibility point for custom compression support application wide.

Methods

public bool
IsSupportedAlgorithm​(string algorithm)
Determines whether the specified algorithm is supported.
Returns <see langword="true" /> if the algorithm is supported; otherwise, <see langword="false" /> .
algorithm The name of the cryptographic algorithm.
CreateCompressionProvider​(string algorithm)
Creates a <see cref="T:Microsoft.IdentityModel.Tokens.ICompressionProvider" /> for a specified compression algorithm.
Returns An instance of <see cref="T:Microsoft.IdentityModel.Tokens.ICompressionProvider" /> for the specified algorithm.
algorithm The compression algorithm.
CreateCompressionProvider​(string algorithm, int maximumDeflateSize)
Creates a <see cref="T:Microsoft.IdentityModel.Tokens.ICompressionProvider" /> for a specific compression algorithm with a maximum deflate size limit.
Returns A <see cref="T:Microsoft.IdentityModel.Tokens.ICompressionProvider" /> instance.
algorithm The compression algorithm.
maximumDeflateSize The maximum size limit (in characters) for deflate compression processing.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object