Dangl.Icons

    Configuration

    In development, ensure that the AppFilesRootPath setting is configured, ideally via user secrets.

    Authorization

    Retrieving icons is not access restricted. Icons are saved by a Guid and are accessible via /api/identicons/{iconId}. Consuming apps may use anything as identifier. For example, apps can simply generate a Guid and assign this for an user to be used as identicon. This may be changed at any time.

    Some features require authentication and authorization, for example icon uploads. This app uses Jwt Bearer authentication. Valid authorities and required scopes are configured in the app config, as well as the name of the claim that is required to access this functionality.

    Config Value Type Description
    IconManagerClaimName string The name of the claim that is evaluated for access
    JwtBearerRequiredScope string The scope required in the Jwt tokens
    JwtBearerAuthorities List<string> The list of valid authorities that may issue Jwt tokens

    The IconManagerClaimName may be either set to true or specify an ISO 8601 timestamp to indicate until when it is valid.

    • Improve this Doc
    Back to top © Dangl IT - Georg Dangl